summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_authservers.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-09-02 19:01:02 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-09-02 19:01:02 -0400
commit2138c41b071c36e70f7c18572572be0381c89f4c (patch)
treeae6aebbb53246947cd61387d5809d9cb16d34f77 /src/usr/local/www/system_authservers.php
parent2984b7359d7ce7423f7fa4dfa3bb2a51c73ac845 (diff)
downloadpfsense-2138c41b071c36e70f7c18572572be0381c89f4c.zip
pfsense-2138c41b071c36e70f7c18572572be0381c89f4c.tar.gz
Fixed 5082
Name field available on input errors.
Diffstat (limited to 'src/usr/local/www/system_authservers.php')
-rw-r--r--src/usr/local/www/system_authservers.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php
index 67c51e3..4b6f7b9 100644
--- a/src/usr/local/www/system_authservers.php
+++ b/src/usr/local/www/system_authservers.php
@@ -772,13 +772,8 @@ events.push(function(){
// On page load . .
ldap_tmplchange();
hideClass('ldapanon', $('#ldap_anon').prop('checked'));
-<?php
- if(!$input_errors) {
-?>
$("#Select").prop('type','button');
-<?php
- }
-?>
+
if($('#ldap_port').val() == "")
set_ldap_port();
@@ -790,8 +785,12 @@ events.push(function(){
$(this).attr('disabled', 'disabled');
});
+<?php
+ if(!$input_errors) {
+?>
$('#name').prop("readonly", true);
<?php
+ }
}
?>
// On click . .
OpenPOWER on IntegriCloud