summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_authservers.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-03-20 16:06:02 +0545
committerPhil Davis <phil.davis@inf.org>2016-03-20 16:06:02 +0545
commit347c0214388bae18616a9003adf84d7be509fa86 (patch)
tree7f9bd3f0093719a7a34eb2c63024345ba713abf9 /src/usr/local/www/system_authservers.php
parent7cb01159934f0fa24c0c0050917cef1ad9bb9f2b (diff)
downloadpfsense-347c0214388bae18616a9003adf84d7be509fa86.zip
pfsense-347c0214388bae18616a9003adf84d7be509fa86.tar.gz
Reengineer Form_Button setAttribute
As per what was done for https://github.com/pfsense/pfsense/pull/2765 - do it to the rest of them. Seems to work OK.
Diffstat (limited to 'src/usr/local/www/system_authservers.php')
-rw-r--r--src/usr/local/www/system_authservers.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php
index e76bb2d..9b94f4e 100644
--- a/src/usr/local/www/system_authservers.php
+++ b/src/usr/local/www/system_authservers.php
@@ -640,7 +640,7 @@ $group->add(new Form_Button(
'Select a container',
null,
'fa-search'
-))->addClass('btn-info');
+))->setAttribute('type','button')->addClass('btn-info');
$section->add($group);
@@ -959,7 +959,6 @@ events.push(function() {
<?php endif; ?>
hideClass('ldapanon', $('#ldap_anon').prop('checked'));
- $("#Select").prop('type','button');
hideClass('extended', !$('#ldap_extended_enabled').prop('checked'));
if($('#ldap_port').val() == "")
OpenPOWER on IntegriCloud