-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught Error: The bootstrap modal plugin does not have its version defined ?!? #68
Comments
Bootstrap introduced the modal version definition with 3.2.0: => Updating to Bootstrap >= 3.2.0 (or adding the VERSION definition) will fix the problem where data-confirm-modal fails to detect the Bootstrap version |
* Add version definition into vendor bootstrap dist See: ifad/data-confirm-modal#68 (comment) Bootstrap introduced the modal version definition with 3.2.0: Modal.VERSION = '3.2.0' https://github.com/twbs/bootstrap/blob/v3.2.0/js/modal.js#L33 => Updating to Bootstrap >= 3.2.0 (or adding the VERSION definition) will fix the problem where data-confirm-modal fails to detect the Bootstrap version
* Add version definition into vendor bootstrap dist See: ifad/data-confirm-modal#68 (comment) Bootstrap introduced the modal version definition with 3.2.0: Modal.VERSION = '3.2.0' https://github.com/twbs/bootstrap/blob/v3.2.0/js/modal.js#L33 => Updating to Bootstrap >= 3.2.0 (or adding the VERSION definition) will fix the problem where data-confirm-modal fails to detect the Bootstrap version
Add
before |
any fix for bootstrap 5.0.0 beta? |
Hi @RailsCod3rFuture , please use #83 for newer bootstrap support |
Hi I had upgraded to rails 5.2.8.1 from rails 4.2.11. I was on v 1.6.3 of "data-confirm-modal" gem which was doing version check. Did not saw the error. And also modal looked ok. Thank you. |
I've had an app running for a long time, but just started getting this error out of the blue
At first, it was breaking functionality in my app. I then moved
data-confirm-modal
to the bottom of my application.js and things started working again, but I'm still getting the error in the js console.Here are all the pertinent files (I think)
Thanks!!
The text was updated successfully, but these errors were encountered: