From d67c5a84cb04ffd5508e0f5039cc7d8e4c8d8727 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Mon, 27 May 2013 15:44:02 +0530 Subject: [PATCH] Explicit Dedication - Cluster UI-API Integration code --- ui/scripts/system.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index f7ef0487daf..60f2a82198b 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'}) + }); },