summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <jakub.moc@gmail.com>2015-07-17 22:37:02 +0200
committerdoktornotor <jakub.moc@gmail.com>2015-07-17 22:37:02 +0200
commit6d854579eb66876ed17b295abf69829c0112e0a0 (patch)
tree725412abb28bc1248534a3e6527a647995bbb050
parent896b85101323f37cef227cf236f7c5558a7b1ddf (diff)
downloadpfsense-6d854579eb66876ed17b295abf69829c0112e0a0.zip
pfsense-6d854579eb66876ed17b295abf69829c0112e0a0.tar.gz
Fix Firewall - Aliases GUI inconsistencies for URL Table type aliases
The GUI should show descriptions according to what's selected from the dropdown, but currently does not for URL Table (IPs) and URL Table (Ports) type of aliases. This is for RELENG_2_2 branch.
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index 746a627..ded7a85 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -640,8 +640,8 @@ function update_box_type() {
typesel_change();
add_alias_control(this);
}
- document.getElementById ("addressnetworkport").firstChild.data = "{$url_str}";
- document.getElementById ("onecolumn").firstChild.data = "{$url_str}";
+ document.getElementById ("addressnetworkport").firstChild.data = "{$urltable_str}";
+ document.getElementById ("onecolumn").firstChild.data = "{$urltable_str}";
document.getElementById ("twocolumn").firstChild.data = "{$update_freq_str}";
document.getElementById ("threecolumn").firstChild.data = "";
document.getElementById ("threecolumn").style.display = 'none';
@@ -653,8 +653,8 @@ function update_box_type() {
typesel_change();
add_alias_control(this);
}
- document.getElementById ("addressnetworkport").firstChild.data = "{$url_str}";
- document.getElementById ("onecolumn").firstChild.data = "{$url_str}";
+ document.getElementById ("addressnetworkport").firstChild.data = "{$urltable_ports_str}";
+ document.getElementById ("onecolumn").firstChild.data = "{$urltable_ports_str}";
document.getElementById ("twocolumn").firstChild.data = "{$update_freq_str}";
document.getElementById ("threecolumn").firstChild.data = "";
document.getElementById ("threecolumn").style.display = 'none';
OpenPOWER on IntegriCloud