From f4c86ffc77227e700ce962bf159431b0dd7c9e19 Mon Sep 17 00:00:00 2001 From: Heiko Jansen Date: Fri, 13 May 2016 14:36:46 +0200 Subject: [PATCH 1/2] Remove reference to "loaded.bs.modal" event Since the "remote" option is no longer available in v4 the reference to the "loaded.bs.modal" event is no longer needed, too. --- docs/components/modal.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/components/modal.md b/docs/components/modal.md index f3c29dac6a..55a0878b6c 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -480,10 +480,6 @@ Bootstrap's modal class exposes a few events for hooking into modal functionalit hidden.bs.modal This event is fired when the modal has finished being hidden from the user (will wait for CSS transitions to complete). - - loaded.bs.modal - This event is fired when the modal has loaded content using the remote option. - From 442f472a2d6faf1f3ab488025ea9cb90661278d4 Mon Sep 17 00:00:00 2001 From: Heiko Jansen Date: Thu, 19 May 2016 15:36:52 +0200 Subject: [PATCH 2/2] Mention removed modal option in migration docs The `remote` option and the accompanying event have been removed. --- docs/migration.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/migration.md b/docs/migration.md index 827901f6a9..b1106acb55 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -123,7 +123,10 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with ### List groups - Replaced `a.list-group-item` with an explicit class, `.list-group-item-action`, for styling link and button versions of list group items. -- + +### Modal + +- The `remote` option (which could be used to automatically load and inject external content into a modal) and the correspending `loaded.bs.modal` event were removed. We recommend instead using client-side templating or a data binding framework, or calling [jQuery.load](http://api.jquery.com/load/) yourself. ### Navs