Skip to content

Commit 9bbbc4e

Browse files
committed
Pass _custom correctly to VPC tier add VM action
1 parent 6d78cc4 commit 9bbbc4e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎ui/scripts/ui-custom/vpc.js‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,14 @@
213213

214214
var success = function(args) {
215215
var remove = args ? args.remove : false;
216+
var _custom = args ? args._custom : {};
216217

217218
cloudStack.ui.notifications.add(
218219
// Notification
219220
{
220221
desc: label,
221-
poll: notification.poll
222+
poll: notification.poll,
223+
_custom: _custom
222224
},
223225

224226
// Success

‎ui/scripts/vpc.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@
433433
cloudStack.instanceWizard
434434
),
435435
notification: {
436-
poll: function(args) { args.complete(); }
436+
poll: pollAsyncJobResult
437437
}
438438
},
439439
acl: {

0 commit comments

Comments
 (0)