mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 00:06:55 +02:00
Attempt fix for processwire/processwire-issues#1974
This commit is contained in:
@@ -214,6 +214,7 @@ function pwModalWindow(href, options, size) {
|
||||
} else {
|
||||
url = href + (href.indexOf('?') > -1 ? '&' : '?') + 'modal=1';
|
||||
}
|
||||
if(url.indexOf('%3F')) url = url.replace('%3F', '?');
|
||||
$iframe = jQuery('<iframe class="pw-modal-window" frameborder="0" src="' + url + '"></iframe>');
|
||||
$iframe.attr('id', 'pw-modal-window-' + (pwModalWindows.length+1));
|
||||
pwModalWindows[pwModalWindows.length] = $iframe;
|
||||
|
2
wire/modules/Jquery/JqueryUI/modal.min.js
vendored
2
wire/modules/Jquery/JqueryUI/modal.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user