Updated Branches: refs/heads/4.0 7d7c3eb6d -> c4ed97cd2
CLOUDSTACK-557:For createFirewallRule API startport and endport are optional arguments but in UI ports are not optional: adding the appropriate changes Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/c4ed97cd Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/c4ed97cd Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/c4ed97cd Branch: refs/heads/4.0 Commit: c4ed97cd28b672c7569751de526cb212c69c3397 Parents: 7d7c3eb Author: Pranav Saxena <[email protected]> Authored: Wed Dec 19 12:26:07 2012 +0530 Committer: Pranav Saxena <[email protected]> Committed: Wed Dec 19 12:26:07 2012 +0530 ---------------------------------------------------------------------- ui/scripts/network.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c4ed97cd/ui/scripts/network.js ---------------------------------------------------------------------- diff --git a/ui/scripts/network.js b/ui/scripts/network.js index e1c32b4..70ade74 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': {
