Egress UI: Make ICMP type/code optional
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/1aecd7b4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/1aecd7b4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/1aecd7b4 Branch: refs/heads/master Commit: 1aecd7b42a2b58175b5f81332b133f8125923656 Parents: 0902f60 Author: Brian Federle <[email protected]> Authored: Tue Dec 4 10:39:27 2012 -0800 Committer: Brian Federle <[email protected]> Committed: Tue Dec 4 10:49:35 2012 -0800 ---------------------------------------------------------------------- ui/scripts/network.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1aecd7b4/ui/scripts/network.js ---------------------------------------------------------------------- diff --git a/ui/scripts/network.js b/ui/scripts/network.js index 7dc6992..726790c 100755 --- a/ui/scripts/network.js +++ b/ui/scripts/network.js @@ -1079,8 +1079,8 @@ }, 'startport': { edit: true, label: 'label.start.port', isOptional: true }, 'endport': { edit: true, label: 'label.end.port', isOptional: true }, - 'icmptype': { edit: true, label: 'ICMP.type', isHidden: true }, - 'icmpcode': { edit: true, label: 'ICMP.code', isHidden: true }, + 'icmptype': { edit: true, label: 'ICMP.type', isHidden: true, isOptional: true }, + 'icmpcode': { edit: true, label: 'ICMP.code', isHidden: true, isOptional: true }, 'add-rule': { label: 'label.add', addButton: true
