Skip to content

Commit

Permalink
Merge pull request #1423 from chalettu/custom-button-refresh-issue
Browse files Browse the repository at this point in the history
BZ#1568574 - Fixed issue with custom button details dynamic field refresh
  • Loading branch information
AllenBW authored Apr 18, 2018
2 parents a59ea7d + 9beecbe commit 43580fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function StateController ($state, $stateParams, CollectionsApi, EventNotificatio
vm.resourceAction = vm.button.resource_action
vm.submitCustomButton = submitCustomButton
vm.submitButtonEnabled = false
vm.dialogUrl = 'service_dialogs/'
vm.dialogUrl = 'service_dialogs'
vm.refreshField = refreshField
vm.setDialogData = setDialogData
vm.dialogData = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ describe('State: services.custom_button_details', () => {
expect(DialogFieldRefresh.refreshDialogField).to.have.been.calledWith(
dialogData.data,
['fieldName'],
'service_dialogs/',
'service_dialogs',
{dialogId: 213, resourceActionId: 789, targetId: 123, targetType: 'service'}
)
})
Expand Down Expand Up @@ -262,7 +262,7 @@ describe('State: services.custom_button_details', () => {
expect(DialogFieldRefresh.refreshDialogField).to.have.been.calledWith(
dialogData.data,
['fieldName'],
'service_dialogs/',
'service_dialogs',
{dialogId: 213, resourceActionId: 789, targetId: 456, targetType: 'vm'}
)
})
Expand Down

0 comments on commit 43580fc

Please sign in to comment.