From 003c62583cafa05e260f0d0aad32c653554ea6e7 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 24 Jul 2012 15:21:54 -0700 Subject: [PATCH] Add tags to FW rule multi-edit --- ui/scripts/network.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index cbfa4ec6ca2..0a8f970f8f7 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -1695,6 +1695,9 @@ addButton: true } }, + + tags: cloudStack.api.tags({ resourceType: 'FirewallRule', contextId: 'multiRule' }), + add: { label: 'label.add', action: function(args) { @@ -1722,6 +1725,19 @@ } }, actions: { + edit: { + label: 'label.edit', + + // Blank -- edit is just for tags right now + action: function(args) { + args.response.success({ + notification: { + label: 'Edit firewall rule', + poll: function(args) { args.complete(); } + } + }); + } + }, destroy: { label: 'label.action.delete.firewall', action: function(args) {