mirror of https://github.com/apache/cloudstack.git
Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that interval instead of the default. Conflicts: ui/scripts/ui/widgets/notifications.js
This commit is contained in:
parent
003c62583c
commit
d7d9b341c8
|
|
@ -280,7 +280,7 @@
|
|||
cloudStack.ui.event.call('addNotification', {
|
||||
section: notification.section,
|
||||
desc: notification.desc,
|
||||
interval: cloudStack.debug ? 0 : 5000,
|
||||
interval: notification.interval ? notification.interval : 5000,
|
||||
_custom: notification._custom,
|
||||
poll: function(args) {
|
||||
var complete = args.complete;
|
||||
|
|
|
|||
Loading…
Reference in New Issue