From 5889a817a5900f6a4c32dc2c2cf9ea669a40341e Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 13 Nov 2008 19:05:06 +0000 Subject: [PATCH] - Correction de quelques petites choses pour un meilleur fonctionnement sous Opera et IE --- trunk/conf/LSobjects/config.LSobjects.LSeepeople.php | 1 + trunk/css/default/LSform.css | 3 +-- trunk/css/default/LSformElement_select_object.css | 2 +- trunk/includes/js/LSdefault.js | 2 ++ trunk/includes/js/LSform.js | 4 +++- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php b/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php index 84ad8b6b..c7eebb66 100644 --- a/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php +++ b/trunk/conf/LSobjects/config.LSobjects.LSeepeople.php @@ -261,6 +261,7 @@ $GLOBALS['LSobjects']['LSeepeople'] = array ( 'required' => 1, 'validation' => array ( array ( + 'msg' => _("Ce groupe n'existe pas."), 'object_type' => 'LSeegroup', // 'object_type' : Permet definir le type d'objet recherchés //'basedn' => 'o=company', // et d'utiliser les objectClass définis dans le fichier de configuration 'filter' => '(gidNumber=%{val})', // pour la recherche diff --git a/trunk/css/default/LSform.css b/trunk/css/default/LSform.css index 6c9db0b4..dd58404d 100644 --- a/trunk/css/default/LSform.css +++ b/trunk/css/default/LSform.css @@ -95,7 +95,6 @@ ul.LSform { } ul.LSform li { - overflow: auto; margin-bottom: 2px; } @@ -104,7 +103,7 @@ ul.LSform li { */ .LSform input[type=text], .LSform input[type=file], .LSform input[type=submit], .LSform input[type=password], .LSform select, .LSform textarea { border: 1px solid #ccc; - width: 300px; + width: 200px; background-color: #b5e4f6; } diff --git a/trunk/css/default/LSformElement_select_object.css b/trunk/css/default/LSformElement_select_object.css index 06057705..08ca7da1 100644 --- a/trunk/css/default/LSformElement_select_object.css +++ b/trunk/css/default/LSformElement_select_object.css @@ -16,7 +16,7 @@ a.LSformElement_select_object_deleted { ul.LSformElement_select_object_edit { border: 1px solid #b5e4f6; border-bottom: none; - width: 300px; + width: 200px; } li.LSformElement_select_object { diff --git a/trunk/includes/js/LSdefault.js b/trunk/includes/js/LSdefault.js index 20e90c85..d4ee1dfd 100644 --- a/trunk/includes/js/LSdefault.js +++ b/trunk/includes/js/LSdefault.js @@ -187,6 +187,7 @@ var LSdefault = new Class({ if ($type(this.LSjsConfig['helpInfos'][group][name])) { varLSform.addTip(el); el.store('tip:title',this.LSjsConfig['helpInfos'][group][name]); + el.store('tip:text',""); } } } @@ -199,6 +200,7 @@ var LSdefault = new Class({ if ($type(this.LSjsConfig['helpInfos'][group])) { if ($type(this.LSjsConfig['helpInfos'][group][name])) { el.store('tip:title',this.LSjsConfig['helpInfos'][group][name]); + el.store('tip:text',""); } } } diff --git a/trunk/includes/js/LSform.js b/trunk/includes/js/LSform.js index c2399df2..d5d75062 100644 --- a/trunk/includes/js/LSform.js +++ b/trunk/includes/js/LSform.js @@ -77,7 +77,9 @@ var LSform = new Class({ if ($type(event)) { event = new Event(event); event.stop(); - event.target.blur(); + if ($type(event.target.blur)) { + event.target.blur(); + } } if (this._currentTab!=li) {