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 <[email protected]> Authored: Mon May 27 15:44:02 2013 +0530 Committer: Pranav Saxena <[email protected]> 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'}) + }); },
