summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-02-20 08:42:02 -0500
committerSteve Beaver <sbeaver@netgate.com>2017-02-20 08:42:02 -0500
commit68b21600196b4f778e2506555d1fea05f7bda397 (patch)
tree7a7bcdba5a7860c70095f6a652a73660337481db /src/usr
parent1744b805377df5f1c11bf91117695d339b662347 (diff)
parentb8ad7df3655661a649196f48e278359cd8c644c7 (diff)
downloadpfsense-68b21600196b4f778e2506555d1fea05f7bda397.zip
pfsense-68b21600196b4f778e2506555d1fea05f7bda397.tar.gz
Merge pull request #3533 from phil-davis/fw-rules-iface-selector
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/guiconfig.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc
index 44de398..2fa69fe 100644
--- a/src/usr/local/www/guiconfig.inc
+++ b/src/usr/local/www/guiconfig.inc
@@ -1056,7 +1056,11 @@ function display_top_tabs(& $tab_array, $no_drop_down = false, $type = 'pills',
echo "</select>\n<p>&nbsp;</p>";
echo "<script type=\"text/javascript\">";
echo "\n//<![CDATA[\n";
- echo " function tabs_will_go(obj){ document.location = obj.value; }\n";
+ if ($usepost == 'usepost') {
+ echo " function tabs_will_go(obj){ var target = obj.value.split(\"?\"); postSubmit(get2post(target[1]),target[0]); }\n";
+ } else {
+ echo " function tabs_will_go(obj){ document.location = obj.value; }\n";
+ }
echo "//]]>\n";
echo "</script>";
} else {
OpenPOWER on IntegriCloud