Disable notification interval if in 'debug' mode (for unit tests)

This commit is contained in:
bfederle 2012-03-09 11:27:22 -08:00
parent 595b7e5c04
commit 35765419d1
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@
cloudStack.ui.event.call('addNotification', {
section: notification.section,
desc: notification.desc,
interval: 5000,
interval: cloudStack.debug ? 0 : 5000,
_custom: notification._custom,
poll: function(args) {
var complete = args.complete;