diff options
author | jim-p <jimp@pfsense.org> | 2012-06-12 13:54:10 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-06-12 13:54:10 -0400 |
commit | 5c7abe2eb3a30f38aeef96e4430cc0680aff74df (patch) | |
tree | 182d43f0f964f89c046adf4b87b7affa3238dc47 | |
parent | 2e23c199450583cd7daa0dd62b86d6958b36e3a9 (diff) | |
download | pfsense-5c7abe2eb3a30f38aeef96e4430cc0680aff74df.zip pfsense-5c7abe2eb3a30f38aeef96e4430cc0680aff74df.tar.gz |
Provide a way to disable the autocomplete shutoff.
-rwxr-xr-x | usr/local/www/fend.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/fend.inc b/usr/local/www/fend.inc index e655c71..dde5955 100755 --- a/usr/local/www/fend.inc +++ b/usr/local/www/fend.inc @@ -16,7 +16,7 @@ <?php outputJavaScriptFileInline("/usr/local/www/themes/{$g['theme']}/bottom-loader.js"); /* Disable form autocomplete on all but the login screen. */ -if (basename($_SERVER["SCRIPT_FILENAME"] != "index.php")): ?> +if (basename($_SERVER["SCRIPT_FILENAME"] != "index.php") && !$allowautocomplete): ?> <script type="text/javascript"> (function ($) { $("input").attr("autocomplete","off"); |