From bb424802c8f6e8fd0e7fbe28e000400a5b0660f3 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 8 Oct 2014 15:09:02 +0200 Subject: [PATCH] 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. --- apps/user_ldap/templates/part.settingcontrols.php | 2 +- apps/user_ldap/templates/part.wizard-server.php | 2 +- apps/user_ldap/templates/settings.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/user_ldap/templates/part.settingcontrols.php b/apps/user_ldap/templates/part.settingcontrols.php index ddf65e8a754..bcccb59a7dd 100644 --- a/apps/user_ldap/templates/part.settingcontrols.php +++ b/apps/user_ldap/templates/part.settingcontrols.php @@ -1,6 +1,6 @@
- -

diff --git a/apps/user_ldap/templates/settings.php b/apps/user_ldap/templates/settings.php index 38043fb34a8..6a02b795258 100644 --- a/apps/user_ldap/templates/settings.php +++ b/apps/user_ldap/templates/settings.php @@ -59,7 +59,7 @@

t('Username-LDAP User Mapping'));?>

t('Usernames are used to store and assign (meta) data. In order to precisely identify and recognize users, each LDAP user will have a internal username. This requires a mapping from username to LDAP user. The created username is mapped to the UUID of the LDAP user. Additionally the DN is cached as well to reduce LDAP interaction, but it is not used for identification. If the DN changes, the changes will be found. The internal username is used all over. Clearing the mappings will have leftovers everywhere. Clearing the mappings is not configuration sensitive, it affects all LDAP configurations! Never clear the mappings in a production environment, only in a testing or experimental stage.'));?>

-


+


-- 2.39.5