[spip ↪ dateur] Refactoring d u JS et prise en charge d'attributs (...)

Cerdic <[email protected]>
Newsgroups gmane.comp.web.spip.cvs
Message-ID <[email protected]>
spip/spip
-
Par Cerdic, le 19 mars 2021 à 17h34min : 

Refactoring du JS et prise en charge d'attributs data-range-before et data-range-after permettant de designer un input date lie dont la date doit etre respectivement avant et apres celle de l'input courant
Ex :
```
<input type='text' class='text date' name='date_debut' id='date_debut' size='10' maxlength='10' value="[(#ENV{date_debut})]" data-range-after="#date_fin"/>
<input type='text' class='text date' name='date_fin' id='date_fin' size='10' maxlength='10' value="[(#ENV{date_fin})]"  data-range-before="#date_debut"/>
```


*Modifié*
    prive/formulaires/dateur/inc-dateur.html

Détails : https://git.spip.net/spip/spip/commit/5754374eab543e178043152e4fb1a488ce3fe5e4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.