Also, see the following change record: Sub-theme Bootstrap Framework assets should now extend the new bootstrap/framework library.
Note: if you implemented custom code that touched anything close to this topic or the files this issue changes, there will likely be some breaking changes. This is simply unavoidable given how broken modal support was.
---
There is now a new jQuery UI Bridge
theme setting for Modals (modal_jquery_ui_bridge
) inside the JavaScript > Modals
section.
This theme setting essentially replaces the core/jquery.ui.dialog
dependency in the core/drupal.dialog
library with a bridge. This bridge adds support to Bootstrap Modals so that it may interpret jQuery UI Dialog functionality. It is highly recommended that this remain enabled unless you know what you're really doing.
Most people will not notice a difference (aside from modals and dialogs suddenly starting to work properly). However, if you have implemented your own modal/dialog JS in your sub-theme, you will likely need to adjust your sub-theme accordingly.
There has also been some major work done on the following JavaScript files:
./js/drupal.bootstrap.js
- Added a lot of functionality, take a peak ;)./js/attributes.js
- Fixed quite a few bugs in regards to adding classes and creation (e.g. if you didAttributes(attributes)
before, it should now doAttributes.create(attributes)
)../js/modal.js
- Complete overhaul, everything is different and the base theme now overrides the Bootstrap Framework's modal constructor (necessary to work with core).