Search and Top Navigation
#15291 new bug ()
Opened April 27, 2018 04:48PM UTC
Last modified April 30, 2018 01:41PM UTC
Invalid "inline if" in datepicker source
| Reported by: | actricom | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | none |
| Component: | ui.datepicker | Version: | 1.12.1 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Within the datepicker _setDateFromField function there is this code
dates = inst.lastVal = inst.input ? inst.input.val() : null
I assume it should be
dates = inst.lastVal == inst.input ? inst.input.val() : null
EDIT: SORRY GUYS - PLEASE IGNORE ME - THE ORIGINAL LINE IS CORRECT AFTER ALL.
Attachments (0)
Change History (2)
Changed April 27, 2018 08:04PM UTC by comment:1
| description: | Within the datepicker _setDateFromField function there is this code \ \ dates = inst.lastVal = inst.input ? inst.input.val() : null \ \ I assume it should be \ \ dates = inst.lastVal == inst.input ? inst.input.val() : null → Within the datepicker _setDateFromField function there is this code \ \ {{{#!javascript \ dates = inst.lastVal = inst.input ? inst.input.val() : null \ }}} \ \ I assume it should be \ \ {{{#!javascript \ dates = inst.lastVal == inst.input ? inst.input.val() : null \ }}} |
|---|
Changed April 30, 2018 01:41PM UTC by comment:2
| description: | Within the datepicker _setDateFromField function there is this code \ \ {{{#!javascript \ dates = inst.lastVal = inst.input ? inst.input.val() : null \ }}} \ \ I assume it should be \ \ {{{#!javascript \ dates = inst.lastVal == inst.input ? inst.input.val() : null \ }}} → Within the datepicker _setDateFromField function there is this code \ \ {{{#!javascript \ dates = inst.lastVal = inst.input ? inst.input.val() : null \ }}} \ \ I assume it should be \ \ {{{#!javascript \ dates = inst.lastVal == inst.input ? inst.input.val() : null \ }}} \ \ EDIT: SORRY GUYS - PLEASE IGNORE ME - THE ORIGINAL LINE IS CORRECT AFTER ALL. |
|---|