mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
Notification List should not highlight row item on save
This commit is contained in:
@@ -111,7 +111,6 @@ export default
|
|||||||
Rest.setUrl(url);
|
Rest.setUrl(url);
|
||||||
Rest.post(params)
|
Rest.post(params)
|
||||||
.success(function (data) {
|
.success(function (data) {
|
||||||
$rootScope.addedItem = data.id;
|
|
||||||
$state.go('notifications', {}, {reload: true});
|
$state.go('notifications', {}, {reload: true});
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -155,8 +155,7 @@ export default
|
|||||||
Wait('start');
|
Wait('start');
|
||||||
Rest.setUrl(url+ id+'/');
|
Rest.setUrl(url+ id+'/');
|
||||||
Rest.put(params)
|
Rest.put(params)
|
||||||
.success(function (data) {
|
.success(function () {
|
||||||
$rootScope.addedItem = data.id;
|
|
||||||
$state.go('notifications', {}, {reload: true});
|
$state.go('notifications', {}, {reload: true});
|
||||||
Wait('stop');
|
Wait('stop');
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -192,7 +192,7 @@ export default
|
|||||||
msg: 'Call to ' + url + ' failed. DELETE returned status: ' + status });
|
msg: 'Call to ' + url + ' failed. DELETE returned status: ' + status });
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
var bodyHtml = '<div class="Prompt-bodyQuery">Are you sure you want to delete the inventory below?</div><div class="Prompt-bodyTarget">' + name + '</div>';
|
var bodyHtml = '<div class="Prompt-bodyQuery">Are you sure you want to delete the notification template below?</div><div class="Prompt-bodyTarget">' + name + '</div>';
|
||||||
Prompt({
|
Prompt({
|
||||||
hdr: 'Delete',
|
hdr: 'Delete',
|
||||||
body: bodyHtml,
|
body: bodyHtml,
|
||||||
|
|||||||
Reference in New Issue
Block a user