mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
Add network ACL item: Fix add action
This commit is contained in:
parent
bd764cc581
commit
6b7098c990
@ -208,15 +208,6 @@
|
||||
_custom: {
|
||||
jobId: data.createnetworkaclresponse.jobid,
|
||||
getUpdatedItem: function(json) {
|
||||
//var networkName = $multi.find('select[name=networkid] option[value=' + args.data.networkid + ']').html();
|
||||
/* var data = $.extend(json.queryasyncjobresultresponse.jobresult.networkacl, {
|
||||
networkid: networkName
|
||||
});*/
|
||||
var data = json.queryasyncjobresultresponse.jobresult.networkacl;
|
||||
var aclRules = $multi.data('acl-rules');
|
||||
|
||||
aclRules.push(data);
|
||||
$multi.data('acl-rules', aclRules);
|
||||
$(window).trigger('cloudStack.fullRefresh');
|
||||
|
||||
return data;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user