mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
Leave user on jobs list when relaunching adhoc command
This commit is contained in:
parent
ce0096f308
commit
66f37533ec
@ -104,7 +104,9 @@ export default
|
||||
Rest.post(postData)
|
||||
.success(function (data) {
|
||||
Wait('stop');
|
||||
$state.go('adHocJobStdout', {id: data.id});
|
||||
if($location.path().replace(/^\//, '').split('/')[0] !== 'jobs') {
|
||||
$state.go('adHocJobStdout', {id: data.id});
|
||||
}
|
||||
})
|
||||
.error(function (data, status) {
|
||||
ProcessErrors(scope, data, status, {
|
||||
|
||||
@ -46,6 +46,7 @@ function($compile, CreateDialog, Wait, ParseTypeChange) {
|
||||
label: "Launch",
|
||||
onClick: function() {
|
||||
scope.$emit(callback);
|
||||
$('#password-modal').dialog('close');
|
||||
},
|
||||
icon: "fa-check",
|
||||
"class": "btn btn-primary",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user