From b0744481546033d84e256e452efcaaa0d33fe979 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 29 Dec 2011 16:30:23 -0800 Subject: [PATCH] cloudstack 3.0 new UI - apply action filter to newly created pod in listView. --- ui/scripts/system.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/scripts/system.js b/ui/scripts/system.js index 1076b99de77..10bed8d096e 100644 --- a/ui/scripts/system.js +++ b/ui/scripts/system.js @@ -5409,8 +5409,11 @@ url: createURL("createPod" + array1.join("")), dataType: "json", success: function(json) { - var item = json.createpodresponse.pod; - args.response.success({data:item}); + var item = json.createpodresponse.pod; + args.response.success({ + actionFilter: podActionfilter, //Brian, actionfilter is not being applied here. Please fix widget code to apply actionFilter to the newly created object. + data:item + }); }, error: function(XMLHttpResponse) { var errorMsg = parseXMLHttpResponse(XMLHttpResponse);