bb424802c8
Pressing enter in the LDAP wizard will trigger a click on the first button. In the main page it would trigger the delete dialog, which is quite inconvenient. Added a type attribute to suppress this behavior.
12 lines
492 B
PHP
12 lines
492 B
PHP
<div class="ldapSettingControls">
|
|
<input class="ldap_submit" value="<?php p($l->t('Save'));?>" type="submit">
|
|
<button type="button" class="ldap_action_test_connection" name="ldap_action_test_connection">
|
|
<?php p($l->t('Test Configuration'));?>
|
|
</button>
|
|
<a href="<?php p(\OC_Helper::linkToDocs('admin-ldap')); ?>"
|
|
target="_blank">
|
|
<img src="<?php print_unescaped(OCP\Util::imagePath('', 'actions/info.png')); ?>"
|
|
style="height:1.75ex" />
|
|
<?php p($l->t('Help'));?>
|
|
</a>
|
|
</div>
|