]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Mark the `remote` option of the Modal plugin as deprecated.
authorChris Rebert <code@rebertia.com>
Thu, 3 Jul 2014 18:45:49 +0000 (11:45 -0700)
committerChris Rebert <code@rebertia.com>
Thu, 3 Jul 2014 19:58:10 +0000 (12:58 -0700)
Follow-up to https://github.com/twbs/bootstrap/issues/13087#issuecomment-46563760
Closes #13087 as WONTFIX.
Closes #13597 as WONTFIX.

docs/_includes/js/modal.html

index 9b8a709185d638f4808e41bb6f036985f5fad33d..0ce58415a03e83d359caeec35c13b9911379a0d1 100644 (file)
          <td>remote</td>
          <td>path</td>
          <td>false</td>
-         <td><p>If a remote URL is provided, <strong>content will be loaded one time</strong> via jQuery's <code>load</code> method and injected into the <code>.modal-content</code> div. If you're using the data-api, you may alternatively use the <code>href</code> attribute to specify the remote source. An example of this is shown below:</p>
+         <td><p class="text-danger">This option is deprecated since v3.2.1 and will be removed in v4.</p><p>If a remote URL is provided, <strong>content will be loaded one time</strong> via jQuery's <code>load</code> method and injected into the <code>.modal-content</code> div. If you're using the data-api, you may alternatively use the <code>href</code> attribute to specify the remote source. An example of this is shown below:</p>
 {% highlight html %}
 <a data-toggle="modal" href="remote.html" data-target="#modal">Click me</a>
 {% endhighlight %}