From c4ed97cd28b672c7569751de526cb212c69c3397 Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Wed, 19 Dec 2012 12:26:07 +0530 Subject: [PATCH] CLOUDSTACK-557:For createFirewallRule API startport and endport are optional arguments but in UI ports are not optional: adding the appropriate changes --- ui/scripts/network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/network.js b/ui/scripts/network.js index e1c32b4b5b9..70ade74eb09 100644 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -1951,8 +1951,8 @@ }); } }, - 'startport': { edit: true, label: 'label.start.port' }, - 'endport': { edit: true, label: 'label.end.port' }, + 'startport': { edit: true, label: 'label.start.port',isOptional: true }, + 'endport': { edit: true, label: 'label.end.port',isOptional: true }, 'icmptype': { edit: true, label: 'ICMP.type', isDisabled: true }, 'icmpcode': { edit: true, label: 'ICMP.code', isDisabled: true }, 'add-rule': {