mirror of
https://github.com/ansible/awx.git
synced 2026-05-25 09:37:45 -02:30
fix for broken recent-notifications popover
This commit is contained in:
@@ -109,7 +109,8 @@ export default
|
||||
}
|
||||
|
||||
scope.showSummary = function(event, id) {
|
||||
|
||||
Wait('start');
|
||||
setTimeout(function(){
|
||||
if (!Empty(id)) {
|
||||
var recent_notifications,
|
||||
html, title = "Recent Notifications";
|
||||
@@ -144,6 +145,7 @@ export default
|
||||
}
|
||||
attachElem(event, html, title);
|
||||
}
|
||||
}, 100);
|
||||
};
|
||||
|
||||
scope.testNotification = function(){
|
||||
|
||||
@@ -27,7 +27,7 @@ export default function(){
|
||||
icon: "{{ 'icon-job-' + notification_template.status }}",
|
||||
awToolTip: "Click for recent notifications",
|
||||
awTipPlacement: "right",
|
||||
ngClick: "showSummary($event, notification_templates.id)",
|
||||
ngClick: "showSummary($event, notification_template.id)",
|
||||
ngClass: ""
|
||||
}]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user