From 7a6778cd993fce10ea4b3564eaf73a734385550c Mon Sep 17 00:00:00 2001 From: bfederle Date: Wed, 1 Feb 2012 10:55:15 -0800 Subject: [PATCH] Fix swift dialog --- ui/scripts/system.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 19d88d55059..f8c2e61f358 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -2917,10 +2917,6 @@ success: function(json) { swiftEnabled = json.listconfigurationsresponse.configuration[0].value == 'true' && !havingSwift ? true : false; - - cloudStack.dialog.notice({ - message: 'Swift configured. Note: When you leave this page, you will not be able to re-configure Swift again.' - }); }, error: function(json) { @@ -2956,6 +2952,10 @@ success: function(json) { havingSwift = true; args.response.success(); + + cloudStack.dialog.notice({ + message: 'Swift configured. Note: When you leave this page, you will not be able to re-configure Swift again.' + }); }, error: function(json) { args.response.error(parseXMLHttpResponse(json));