Modal in Bootstrap

Modal in Bootstrap

sitesurfersitesurfer Posts: 34Questions: 9Answers: 0
edited May 2014 in Editor

Apologies for the second bug today:

http://editor.datatables.net/examples/styling/bootstrap.html

On this example the modal doesnt fire correctly, and on my local example i get the following error:

TypeError: $(...).one(...).one(...).modal is not a function
"backdrop": "static"

Jquery is initialized, all libraries are loaded.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    Thanks for pointing that out. The problem on the site is that Bootstrap isn't being correctly loaded - I'll look into that as soon as possible (although I think it will likely be next week now for a whole variety of reasons...).

    It should however work locally in the Editor download package (which should now work for you!).

    The error you are seeing suggests that the Bootstrap JS library isn't being loaded.

    Allan

  • sitesurfersitesurfer Posts: 34Questions: 9Answers: 0

    How odd. I'll make some more tests and come back before closing this.

  • sitesurfersitesurfer Posts: 34Questions: 9Answers: 0

    Agreed, it seems that something is awry on a development machine. Installing fresh works peachy.

    TYVM

This discussion has been closed.