diff --git a/ui/scripts/ui-custom/vpc.js b/ui/scripts/ui-custom/vpc.js index 6b27a4fbca5..0ba70e5aad4 100644 --- a/ui/scripts/ui-custom/vpc.js +++ b/ui/scripts/ui-custom/vpc.js @@ -213,12 +213,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 be561a56d5a..94e6dcbf5dd 100644 --- a/ui/scripts/vpc.js +++ b/ui/scripts/vpc.js @@ -433,7 +433,7 @@ cloudStack.instanceWizard ), notification: { - poll: function(args) { args.complete(); } + poll: pollAsyncJobResult } }, acl: {