cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject [25/43] git commit: updated refs/heads/master to 5ce2890
Date Thu, 25 Apr 2013 18:08:43 GMT
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 <jessica.wang@citrix.com>
Authored: Thu Apr 18 17:01:45 2013 -0700
Committer: Jessica Wang <jessica.wang@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;


Mime
View raw message