erreur javascript sur function replaceall

This commit is contained in:
afornerot 2021-04-02 11:09:18 +02:00
parent 0805750c33
commit ccdacac7c5
1 changed files with 1 additions and 1 deletions

View File

@ -697,7 +697,7 @@
function cloneEvent() { function cloneEvent() {
var dates = $('#mymodal-event-clone #event_dates').multiDatesPicker('value'); var dates = $('#mymodal-event-clone #event_dates').multiDatesPicker('value');
dates=dates.replaceAll(' ',''); dates=dates.replace(/\s/g, '');
tbdates=dates.split(','); tbdates=dates.split(',');
var dstart=moment($("#mymodal-event-clone #event_startm").val(),"DD/MM/YYYY"); var dstart=moment($("#mymodal-event-clone #event_startm").val(),"DD/MM/YYYY");