From efc16fd99da8d8ee2d03aad9287a9c264ee08922 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 31 Jul 2012 15:21:18 -0700 Subject: [PATCH] cloudstack 3.0 UI - autoscale - edit mode - fix a bug that counter column in Scale Up Policy/Scale Down Policy was shown as UUID instead of name. --- ui/scripts/autoscaler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/autoscaler.js b/ui/scripts/autoscaler.js index 5f3e9914342..608739f5de3 100644 --- a/ui/scripts/autoscaler.js +++ b/ui/scripts/autoscaler.js @@ -368,7 +368,7 @@ $.ajax({ url: createURL("listCounters"), dataType: "json", - async: true, + async: false, success: function(json) { var counters = json.counterresponse.counter; @@ -504,7 +504,7 @@ $.ajax({ url: createURL("listCounters"), dataType: "json", - async: true, + async: false, success: function(json) { var counters = json.counterresponse.counter;