diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-10-08 15:09:02 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-10-08 15:09:02 +0200 |
commit | bb424802c8f6e8fd0e7fbe28e000400a5b0660f3 (patch) | |
tree | ee9d904dde627d02fdad8eaf60c04dbe6dc6df61 /apps/user_ldap/templates/part.wizard-server.php | |
parent | 6d94a884767d1942af3f6973eb1ef84a39dee131 (diff) | |
download | nextcloud-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.php | 2 |
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> |