From 46b16e59173f5c262e60a2aabef94d6d3fa9a4fd Mon Sep 17 00:00:00 2001 From: Pranav Saxena Date: Thu, 29 Nov 2012 18:26:35 +0530 Subject: [PATCH] CLOUDSTACK-557:For createFirewallRule API startport and endport are optional arguments but in UI ports are not optional --- 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 547802a1c69..a8d4f52147b 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -2302,8 +2302,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': {