diff --git a/ui/scripts/ui-custom/vpc.js b/ui/scripts/ui-custom/vpc.js index 0545748e0cc..851e5a827b2 100644 --- a/ui/scripts/ui-custom/vpc.js +++ b/ui/scripts/ui-custom/vpc.js @@ -207,12 +207,14 @@ var success = function(args) { var remove = args ? args.remove : false; + var _custom = args ? args._custom : {}; cloudStack.ui.notifications.add( // Notification { desc: label, - poll: notification.poll + poll: notification.poll, + _custom: _custom }, // Success diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js index bc3cf70d769..7e04c7005ac 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -427,7 +427,7 @@ cloudStack.instanceWizard ), notification: { - poll: function(args) { args.complete(); } + poll: pollAsyncJobResult } }, acl: {