You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/04/25 20:08:43 UTC
[25/43] git commit: updated refs/heads/master to 5ce2890
CLOUDSTACK-2074: cloudstack UI - Affinity - Instances page - Change Affinity action dialog - a workaround to avoid dataProvider() being called twice that populates duplicate data.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7f6e7c6f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7f6e7c6f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7f6e7c6f
Branch: refs/heads/master
Commit: 7f6e7c6f81addd935721113d1a898aad4b9820cf
Parents: 2198dda
Author: Jessica Wang <je...@citrix.com>
Authored: Thu Apr 18 17:01:45 2013 -0700
Committer: Jessica Wang <je...@citrix.com>
Committed: Thu Apr 18 17:01:45 2013 -0700
----------------------------------------------------------------------
ui/scripts/instances.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7f6e7c6f/ui/scripts/instances.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js
index 08e7570..03153a1 100644
--- a/ui/scripts/instances.js
+++ b/ui/scripts/instances.js
@@ -695,6 +695,7 @@
dataProvider: function(args) {
$.ajax({
url: createURL('listAffinityGroups'),
+ async: false, //make it sync to avoid dataProvider() being called twice which produces duplicate data
success: function(json) {
var items = [];
var allAffinityGroups = json.listaffinitygroupsresponse.affinitygroup;