mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
- LSformElement_date : Ajout d'un LStip sur le bouton calendar.
This commit is contained in:
parent
4d99dc8d3f
commit
4145bb5e21
2 changed files with 9 additions and 0 deletions
|
@ -134,6 +134,14 @@ class LSformElement_date extends LSformElement {
|
|||
$return = $this -> getLabelInfos();
|
||||
// value
|
||||
if (!$this -> isFreeze()) {
|
||||
// Help Infos
|
||||
$GLOBALS['LSsession'] -> addHelpInfos(
|
||||
'LSformElement_date',
|
||||
array(
|
||||
'calendar' => _('Sélectionner dans un calendrier.')
|
||||
)
|
||||
);
|
||||
|
||||
$params = array(
|
||||
'format' => $this -> php2js_format($this -> getFormat()),
|
||||
'firstDayOfWeek' => $this -> getFirstDayOfWeek()
|
||||
|
|
|
@ -7,6 +7,7 @@ var LSformElement_date_field = new Class({
|
|||
this.calendarBtn.addClass('btn');
|
||||
this.calendarBtn.addEvent('click',this.onCalendarBtnClick.bind(this));
|
||||
this.calendarBtn.injectAfter(this.input);
|
||||
varLSdefault.addHelpInfo(this.calendarBtn,'LSformElement_date','calendar');
|
||||
|
||||
// Récupération des paramètres à partir de l'attribut 'rem' du bouton
|
||||
this.params = varLSdefault.LSjsConfig[this.name];
|
||||
|
|
Loading…
Reference in a new issue