Patch #28618

Datepicker is called incorrectly

Added by Elena Krasnopolskaya almost 5 years ago. Updated over 4 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:Candidate for next minor release


When calling Datepicker an array of objects was passed incorrectly: at the time of the call $(input).datepickerFallback("option", "defaultDate", default_date); [application.js:689] in array is passed 3 arguments, but in [application.js:216-217] one argument is passed to the function. Function is declared $.fn.datepickerFallback = function( options ) [application.js:836] with one argument. Therefore when calling the "real" Datepicker only one argument is passed instead of three.

The attached patch fixes this.

file1.patch Magnifier (451 Bytes) Elena Krasnopolskaya, 2018-04-24 14:10


#1 Updated by Go MAEDA over 4 years ago

  • Target version set to Candidate for next minor release

Also available in: Atom PDF