Skip to content

Commit 6fdebe5

Browse files
Jessica WangJessica Wang
authored andcommitted
CLOUDSTACK-5656: UI > network > IP Address > configuration tab > Port Forwarding > add "State" column.
1 parent b090aca commit 6fdebe5

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

ui/scripts/network.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3933,6 +3933,10 @@
39333933
});
39343934
}
39353935
},
3936+
'state' : {
3937+
edit: 'ignore',
3938+
label: 'label.state'
3939+
},
39363940
'add-vm': {
39373941
label: 'label.add.vm',
39383942
addButton: true
@@ -3993,7 +3997,10 @@
39933997
success: function(data) {
39943998
args.response.success({
39953999
_custom: {
3996-
jobId: data.createportforwardingruleresponse.jobid
4000+
jobId: data.createportforwardingruleresponse.jobid,
4001+
getUpdatedItem: function(json) {
4002+
return json.queryasyncjobresultresponse.jobresult.portforwardingrule;
4003+
}
39974004
},
39984005
notification: {
39994006
label: 'label.add.port.forwarding.rule',

0 commit comments

Comments
 (0)