From 6eebd7aa0d857e26047572bcfdb6298749401dd8 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 5 Jul 2012 18:33:14 -0700 Subject: [PATCH] cloudstack 3.0 UI - VPC - create tier action is sync, not async. --- ui/scripts/network.js | 5 +---- ui/scripts/ui-custom/vpc.js | 5 ++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 0037eebff28..e484cec7ad4 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -3231,10 +3231,7 @@ ); } }); - }, - notification: { - poll: pollAsyncJobResult - } + } }, editVpc: { label: 'Edit VPC', diff --git a/ui/scripts/ui-custom/vpc.js b/ui/scripts/ui-custom/vpc.js index 84d0abe58b7..ff39d8d8ae0 100644 --- a/ui/scripts/ui-custom/vpc.js +++ b/ui/scripts/ui-custom/vpc.js @@ -472,14 +472,13 @@ context: context, data: args.data, response: { - success: function(args) { + success: function(args) { var tier = args.data; cloudStack.ui.notifications.add( // Notification { - desc: actions.add.label, - poll: actions.add.notification.poll + desc: actions.add.label }, // Success