cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pran...@apache.org
Subject git commit: updated refs/heads/UI-explicitDedication to d67c5a8
Date Mon, 27 May 2013 10:25:21 GMT
Updated Branches:
  refs/heads/UI-explicitDedication 7f0e6561a -> d67c5a84c


Explicit Dedication - Cluster UI-API Integration code


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d67c5a84
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d67c5a84
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/d67c5a84

Branch: refs/heads/UI-explicitDedication
Commit: d67c5a84cb04ffd5508e0f5039cc7d8e4c8d8727
Parents: 7f0e656
Author: Pranav Saxena <pranav.saxena@citrix.com>
Authored: Mon May 27 15:44:02 2013 +0530
Committer: Pranav Saxena <pranav.saxena@citrix.com>
Committed: Mon May 27 15:44:02 2013 +0530

----------------------------------------------------------------------
 ui/scripts/system.js |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/d67c5a84/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index f7ef048..60f2a82 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -8966,7 +8966,17 @@
                          dataType:"json",
                          success:function(json){
                              var jid = json.dedicateclusterresponse.jobid;
-                             args.response.success({  data: $.extend(item, dedicatedObj ,
{state:'Enabled'}) });
+                             //args.response.success({  data: $.extend(item, dedicatedObj
, {state:'Enabled'}) });
+                              args.response.success({
+                                 _custom:
+                                   {      jobId: jid
+                                    },
+                                  notification: {
+                                    poll: pollAsyncJobResult
+                                    },
+
+                                  data:$.extend(item, {state:'Enabled'})
+                             });
 
                          },
 


Mime
View raw message