From 6fdebe592abb3f2766219d0fc9ecde9702d9c468 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 9 Jan 2014 16:10:07 -0800 Subject: [PATCH] CLOUDSTACK-5656: UI > network > IP Address > configuration tab > Port Forwarding > add "State" column. --- ui/scripts/network.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index d352320029d..610b1bdc2dc 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -3933,6 +3933,10 @@ }); } }, + 'state' : { + edit: 'ignore', + label: 'label.state' + }, 'add-vm': { label: 'label.add.vm', addButton: true @@ -3993,7 +3997,10 @@ success: function(data) { args.response.success({ _custom: { - jobId: data.createportforwardingruleresponse.jobid + jobId: data.createportforwardingruleresponse.jobid, + getUpdatedItem: function(json) { + return json.queryasyncjobresultresponse.jobresult.portforwardingrule; + } }, notification: { label: 'label.add.port.forwarding.rule',