Skip to content

Commit 7a6778c

Browse files
committed
Fix swift dialog
1 parent 9c33b67 commit 7a6778c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎ui/scripts/system.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2917,10 +2917,6 @@
29172917
success: function(json) {
29182918
swiftEnabled = json.listconfigurationsresponse.configuration[0].value == 'true' && !havingSwift ?
29192919
true : false;
2920-
2921-
cloudStack.dialog.notice({
2922-
message: 'Swift configured. Note: When you leave this page, you will not be able to re-configure Swift again.'
2923-
});
29242920
},
29252921

29262922
error: function(json) {
@@ -2956,6 +2952,10 @@
29562952
success: function(json) {
29572953
havingSwift = true;
29582954
args.response.success();
2955+
2956+
cloudStack.dialog.notice({
2957+
message: 'Swift configured. Note: When you leave this page, you will not be able to re-configure Swift again.'
2958+
});
29592959
},
29602960
error: function(json) {
29612961
args.response.error(parseXMLHttpResponse(json));

0 commit comments

Comments
 (0)