- if (jQuery('input.date,input.heure').length && !date_picker_loading){
- date_picker_loading = true; // inutile de loader deux fois
- jQuery.getScript('#PRODUIRE{fond=formulaires/dateur/jquery.dateur.js}').done(function(){
+ if (jQuery('input.date,input.heure').length
+ && typeof date_picker_loading=="undefined"){
+ date_picker_loading = jQuery.getScript('#PRODUIRE{fond=formulaires/dateur/jquery.dateur.js}');
+ date_picker_loading.done(function(){