Hi all
Im having problems with the date picker (selectDateTime)- in the LISE module. When I try and select a date on the calendar dialogue box it triggers a null link which actually kicks me back out to the CMSMS admin home screen. The links I see when hovering over a date are like this:
domain name.com/admin/#
Which then triggers a page load
Any idea why this is happening ?
LISE date picker triggering URL load
-
- Forum Members
- Posts: 192
- Joined: Mon Nov 26, 2018 3:09 pm
-
- Forum Members
- Posts: 192
- Joined: Mon Nov 26, 2018 3:09 pm
Re: LISE date picker triggering URL load
ok, I've actually tracked down whats causing the issue, but dont know why, and not sure where the bug lies, whether its the module or jquery?
If I change the 'date format' in the field settings from its default of dd-mm-yy to DD-MM-yy ... then I get the odd link behaviour
Problem is i need the format to be the day/month in words, not numbers
If I change the 'date format' in the field settings from its default of dd-mm-yy to DD-MM-yy ... then I get the odd link behaviour
Problem is i need the format to be the day/month in words, not numbers
Re: LISE date picker triggering URL load
The console reveals more, it looks like it's trying to use a function that was removed from jQueryUI some time ago (datepicker.log):
The only workaround I can think of for now is to choose a format that works, then reformat it when displayed with |date_format
You can and should file a bug report with the steps to recreate and the console log.
Code: Select all
Uncaught TypeError: $.datepicker.log is not a function
at Timepicker._parseTime (jquery-ui-timepicker-addon.js:310)
at Timepicker._addTimePicker (jquery-ui-timepicker-addon.js:288)
at i.$.datepicker._updateDatepicker (jquery-ui-timepicker-addon.js:1260)
at i.$.datepicker._selectDate (jquery-ui-timepicker-addon.js:1234)
at i._selectDay (jquery-ui-1.10.4.custom.min.js:6)
at HTMLTableCellElement.selectDay (jquery-ui-1.10.4.custom.min.js:6)
at HTMLTableCellElement.dispatch (jquery-1.11.1.min.js:3)
at HTMLTableCellElement.r.handle (jquery-1.11.1.min.js:3)
You can and should file a bug report with the steps to recreate and the console log.
Not getting the answer you need? CMSMS support options
-
- Forum Members
- Posts: 192
- Joined: Mon Nov 26, 2018 3:09 pm
Re: LISE date picker triggering URL load
ok thanks for checking that for me!