-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
change where modal loads content -– fixes #10105, #9318, #9459 #11933
Conversation
I can see shipping this with v3.1 since I see the current problem as a bug (or at least an oversight) for those using remote content. Messaging it clearly enough in the release blog post should suffice I would think. Thoughts, @cvrebert? |
Oh how I would love to deprecate the |
It already does 😆. From https://github.com/twbs/bootstrap/blob/master/README.md#versioning:
Emphasis mine. |
I guess I had instead interpreted that as "We won't intentionally violate SemVer, but we might accidentally". |
yeah… i never was crazy about the remote option… but people really wanted it… |
im going to mergggge… don't forget to add to blog post ya? ❤️ |
@fat I've got it <3. |
Is it just me, or was this change not highlighted in the docs for the modal plugin? The docs still say the modal will be loaded in the root modal element. "If a remote URL is provided, content will be loaded one time via jQuery's load method and injected into the root of the modal element" |
@mattzuba Could you please open a new issue about that, so we can keep track of it? :) |
It caused no error , it just silently failed So basically I removed <div class="modal-dialog">
<div class="modal-content">
..
</div>
</div> from the pages served behind the remote URI What is wrong with using remote ? The "one time" is also wrong, it depends on cache pragmas, not on boostrap. So doc should be |
@mdo @cvrebert
this breaks backwards compat… but i think we should make this change…
conversations here: #10105, #9318, #9459
maybe it's fine to put in next release if we message it well? o_O
otherwise i have to do a p nasty hack