mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
Notification List should not highlight row item on save
This commit is contained in:
parent
fefa6998aa
commit
47b04f3a6f
@ -111,7 +111,6 @@ export default
|
||||
Rest.setUrl(url);
|
||||
Rest.post(params)
|
||||
.success(function (data) {
|
||||
$rootScope.addedItem = data.id;
|
||||
$state.go('notifications', {}, {reload: true});
|
||||
Wait('stop');
|
||||
})
|
||||
|
||||
@ -155,8 +155,7 @@ export default
|
||||
Wait('start');
|
||||
Rest.setUrl(url+ id+'/');
|
||||
Rest.put(params)
|
||||
.success(function (data) {
|
||||
$rootScope.addedItem = data.id;
|
||||
.success(function () {
|
||||
$state.go('notifications', {}, {reload: true});
|
||||
Wait('stop');
|
||||
})
|
||||
|
||||
@ -192,7 +192,7 @@ export default
|
||||
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({
|
||||
hdr: 'Delete',
|
||||
body: bodyHtml,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user