Editor Datetime picker possibly doesn't work with Bootstrap 3.4.1

Editor Datetime picker possibly doesn't work with Bootstrap 3.4.1

gordonc200gordonc200 Posts: 39Questions: 7Answers: 0

I've just updated the PHP framework I use and it's updated the version of Bootstrap to 3.4.1 to deal with an XSS issue. The datepicker now no longer works in our Editor based form modals.

I think the issue might be that Datatables/Editor still uses Bootstrap 3.3.7.

I'm wondering if this is a known issue or if there might be a quick fix? I'm not keen on poking around the code if this is the issue and Datatables/Editor is about to switch up to 3.4.1 anyway.

Thanks all.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,146Questions: 1Answers: 2,586

    Hi @gordonc200 ,

    It's working as expected in this example here. Are you able to link to your page so we can take a look?

    Cheers,

    Colin

  • gordonc200gordonc200 Posts: 39Questions: 7Answers: 0
    edited October 2019

    Hi Colin

    That page uses Bootstrap 3.3.7.

    I need to use 3.4.1.

    Thanks
    Gordon

  • allanallan Posts: 61,732Questions: 1Answers: 10,110 Site admin
    Answer ✓

    I've just tried the example locally with Bootstrap 3.4.1 and it appears to work no problem. Can you give me a link to your page so I can take a look at it and see what is going wrong please?

    Thanks,
    Allan

  • gordonc200gordonc200 Posts: 39Questions: 7Answers: 0

    Hi Allan

    I've sent you a message as the site requires a login.

    Thanks
    Gordon

  • gordonc200gordonc200 Posts: 39Questions: 7Answers: 0

    The issue was with jQuery. The PHP framework I use had used 1.12.2.

    Using 1.12.4 sorted it.

    Many thanks.

  • allanallan Posts: 61,732Questions: 1Answers: 10,110 Site admin

    Interesting - thanks for posting back with that!

    What is the PHP framework you are using out of interest?

    Allan

  • gordonc200gordonc200 Posts: 39Questions: 7Answers: 0

    Concrete5

    https://www.concrete5.org/

    Latest update notes

    https://documentation.concrete5.org/developers/background/version-history/852-release-notes

    stated

    "Upgrading jQuery UI to 1.12.1 and downgrading jQuery to 1.12.2 to fix security issue"

    I reversed the "downgrading"

  • allanallan Posts: 61,732Questions: 1Answers: 10,110 Site admin

    Interesting - thank you!

    Allan

This discussion has been closed.