From 06101ea27ea5668c37c2b584e32f00cf21ed6692 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 24 Jul 2012 12:12:09 -0700 Subject: [PATCH] Add tags to edit PF dialog --- ui/scripts/network.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 56a22818666..96446dfd2c4 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -2414,6 +2414,9 @@ addButton: true } }, + + tags: cloudStack.api.tags({ resourceType: 'PortForwardingRule', contextId: 'multiRule' }), + add: { label: 'label.add.vm', action: function(args) { @@ -2447,6 +2450,19 @@ } }, actions: { + edit: { + label: 'label.edit', + + // Blank -- edit is just for tags right now + action: function(args) { + args.response.success({ + notification: { + label: 'label.edit.pf', + poll: function(args) { args.complete(); } + } + }); + } + }, destroy: { label: 'label.remove.pf', action: function(args) {