mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
- LSformElement_select : Ajout de LStip sur le bouton clear.
This commit is contained in:
parent
d9ce613daf
commit
525a49481c
2 changed files with 7 additions and 0 deletions
|
@ -46,6 +46,12 @@ class LSformElement_select extends LSformElement {
|
|||
$return = $this -> getLabelInfos();
|
||||
$params = array();
|
||||
if (!$this -> isFreeze()) {
|
||||
$GLOBALS['LSsession'] -> addHelpInfos (
|
||||
'LSformElement_select',
|
||||
array(
|
||||
'clear' => _("Effacer la sélection.")
|
||||
)
|
||||
);
|
||||
$GLOBALS['LSsession'] -> addJSscript('LSformElement_select.js');
|
||||
}
|
||||
$params['possible_values'] = $this -> params['text_possible_values'];
|
||||
|
|
|
@ -15,6 +15,7 @@ var LSformElement_select = new Class({
|
|||
btn.setStyle('vertical-align','top');
|
||||
btn.addEvent('click',this.onClearBtnClick.bind(this,el));
|
||||
btn.injectAfter(el);
|
||||
varLSdefault.addHelpInfo(btn,'LSformElement_select','clear');
|
||||
}, this);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue