mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
fixes #10911 - add loading event for use with remote option :|
This commit is contained in:
+3
-1
@@ -18,7 +18,9 @@
|
||||
this.$backdrop =
|
||||
this.isShown = null
|
||||
|
||||
if (this.options.remote) this.$element.find('.modal-content').load(this.options.remote)
|
||||
if (this.options.remote) this.$element.find('.modal-content').load(this.options.remote, $.proxy(function () {
|
||||
this.$element.trigger('loaded.bs.modal')
|
||||
}, this))
|
||||
}
|
||||
|
||||
Modal.DEFAULTS = {
|
||||
|
||||
Reference in New Issue
Block a user