summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-10-07 11:46:00 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-10-07 11:46:00 -0400
commite27eac0ce21e1c8ac2195860f50e7ff481a23804 (patch)
treee5599f456dd15d384c432f850947d17dd4091edd
parent26ea93b9fe27dcaf48e6225fe96c2934700634eb (diff)
downloadpfsense-e27eac0ce21e1c8ac2195860f50e7ff481a23804.zip
pfsense-e27eac0ce21e1c8ac2195860f50e7ff481a23804.tar.gz
Fixed #5282
-rwxr-xr-xsrc/usr/local/www/firewall_aliases_edit.php2
-rw-r--r--src/usr/local/www/guiconfig.inc4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_aliases_edit.php b/src/usr/local/www/firewall_aliases_edit.php
index 0b68583..147b37c 100755
--- a/src/usr/local/www/firewall_aliases_edit.php
+++ b/src/usr/local/www/firewall_aliases_edit.php
@@ -788,8 +788,6 @@ events.push(function(){
typechange();
});
- // Disable address_subnet if type == 'host'
- $("[id^='address_subnet']").prop("disabled", ($('#type').val() == 'host'));
});
//]]>
</script>
diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc
index e31d6c4..c2b1d4c 100644
--- a/src/usr/local/www/guiconfig.inc
+++ b/src/usr/local/www/guiconfig.inc
@@ -1197,9 +1197,9 @@ function rule_columns_with_alias($src, $srcport, $dst, $dstport) {
$columns['dst'] = $alias_id;
elseif ($alias_name['name'] == $dstport)
$columns['dstport'] = $alias_id;
-
- return $columns;
}
+
+ return $columns;
}
function form_output_row($name, $label, $content) {
OpenPOWER on IntegriCloud