Patch #28618

Datepicker is called incorrectly

Added by Elena Krasnopolskaya 7 months ago. Updated 5 months ago.

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

0%

Category:Calendar
Target version:Candidate for next minor release

Description

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

History

#1 Updated by Go MAEDA 5 months ago

  • Target version set to Candidate for next minor release

Also available in: Atom PDF