summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <jakub.moc@gmail.com>2015-07-17 22:29:17 +0200
committerdoktornotor <jakub.moc@gmail.com>2015-07-17 22:29:17 +0200
commit0f125160934a228eb4ce61c069d6b7fcced67131 (patch)
treecf2ad785922855ee458ebe19e23359a042da40a2
parentd9d237afd1379f60861e665f2ce51e27be59090a (diff)
downloadpfsense-0f125160934a228eb4ce61c069d6b7fcced67131.zip
pfsense-0f125160934a228eb4ce61c069d6b7fcced67131.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.
-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 cb296f4..638d1f1 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -668,8 +668,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';
@@ -681,8 +681,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