aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/templates/part.wizard-server.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-10-08 15:09:02 +0200
committerVincent Petry <pvince81@owncloud.com>2014-10-08 15:09:02 +0200
commitbb424802c8f6e8fd0e7fbe28e000400a5b0660f3 (patch)
treeee9d904dde627d02fdad8eaf60c04dbe6dc6df61 /apps/user_ldap/templates/part.wizard-server.php
parent6d94a884767d1942af3f6973eb1ef84a39dee131 (diff)
downloadnextcloud-server-bb424802c8f6e8fd0e7fbe28e000400a5b0660f3.tar.gz
nextcloud-server-bb424802c8f6e8fd0e7fbe28e000400a5b0660f3.zip
Prevent button click when enter key is pressed in LDAP wizard
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.
Diffstat (limited to 'apps/user_ldap/templates/part.wizard-server.php')
-rw-r--r--apps/user_ldap/templates/part.wizard-server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/templates/part.wizard-server.php b/apps/user_ldap/templates/part.wizard-server.php
index 422faad028b..bee2b874178 100644
--- a/apps/user_ldap/templates/part.wizard-server.php
+++ b/apps/user_ldap/templates/part.wizard-server.php
@@ -24,7 +24,7 @@
?>
<option value="NEW"><?php p($l->t('Add Server Configuration'));?></option>
</select>
- <button id="ldap_action_delete_configuration"
+ <button type="button" id="ldap_action_delete_configuration"
name="ldap_action_delete_configuration"><?php p($l->t('Delete Configuration'));?></button>
</p>