LISE date picker triggering URL load

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

LISE date picker triggering URL load

Post by johnboyuk1 »

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 ?
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

Re: LISE date picker triggering URL load

Post by johnboyuk1 »

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
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1629
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: LISE date picker triggering URL load

Post by DIGI3 »

The console reveals more, it looks like it's trying to use a function that was removed from jQueryUI some time ago (datepicker.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)
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.
Not getting the answer you need? CMSMS support options
johnboyuk1
Forum Members
Forum Members
Posts: 192
Joined: Mon Nov 26, 2018 3:09 pm

Re: LISE date picker triggering URL load

Post by johnboyuk1 »

ok thanks for checking that for me!
Post Reply

Return to “Modules/Add-Ons”