cloudstack 3.0 new UI - apply action filter to newly created pod in listView.

This commit is contained in:
Jessica Wang 2011-12-29 16:30:23 -08:00
parent 9a07b763c3
commit b074448154
1 changed files with 5 additions and 2 deletions

View File

@ -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);