mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Issue #2825 Possible fix for modal problem.
This commit is contained in:
parent
cfd6e42260
commit
028e43d80b
@ -92,9 +92,9 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
|
||||
height = $(this).attr('data-modal-height');
|
||||
}
|
||||
|
||||
$('.modal-body').html('<div><iframe id="e-modal-iframe" width="100%" height="' + height + 'px" frameborder="0" scrolling="auto" style="display:block;" allowtransparency="true" allowfullscreen src="' + url + '"></iframe></div>');
|
||||
$('.modal-caption').html(caption + ' <i id="e-modal-loading" class="fa fa-spin fa-spinner"></i>');
|
||||
$('.modal').modal(modalOptions);
|
||||
$('#uiModal .modal-body').html('<div><iframe id="e-modal-iframe" width="100%" height="' + height + 'px" frameborder="0" scrolling="auto" style="display:block;" allowtransparency="true" allowfullscreen src="' + url + '"></iframe></div>');
|
||||
$('#uiModal .modal-caption').html(caption + ' <i id="e-modal-loading" class="fa fa-spin fa-spinner"></i>');
|
||||
$('#uiModal.modal').modal(modalOptions);
|
||||
|
||||
$("#e-modal-iframe").on("load", function ()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user