mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
- LSformElement_mail : Ajout d'un bouton LStip pour le bouton mail.
This commit is contained in:
parent
954a3a5272
commit
b448d82139
2 changed files with 11 additions and 0 deletions
|
@ -50,6 +50,16 @@ class LSformElement_mail extends LSformElement_text {
|
|||
);
|
||||
|
||||
var $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
|
||||
function getDisplay() {
|
||||
$GLOBALS['LSsession'] -> addHelpInfos (
|
||||
'LSformElement_mail',
|
||||
array(
|
||||
'mail' => _("Envoyer un mail depuis l'interface.")
|
||||
)
|
||||
);
|
||||
return parent :: getDisplay($return);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -29,6 +29,7 @@ var LSformElement_mail = new Class({
|
|||
btn.addClass('btn');
|
||||
btn.injectAfter(el);
|
||||
btn.addEvent('click',this.onBtnClick.bind(this,btn));
|
||||
varLSdefault.addHelpInfo(btn,'LSformElement_mail','mail');
|
||||
},
|
||||
|
||||
reinitialize: function(el) {
|
||||
|
|
Loading…
Reference in a new issue