mirror of
https://github.com/processwire/processwire.git
synced 2025-08-17 20:11:46 +02:00
Fix JqueryUI modal.js issue processwire/processwire-issues#471
This commit is contained in:
@@ -188,7 +188,8 @@ function pwModalWindow(href, options, size) {
|
||||
$iframe.data('settings', settings);
|
||||
$iframe.load(function() {
|
||||
if(typeof settings.title == "undefined" || !settings.title) {
|
||||
$iframe.dialog('option', 'title', $iframe.contents().find('title').text());
|
||||
var title = $('<textarea />').text($iframe.contents().find('title').text()).html();
|
||||
$iframe.dialog('option', 'title', title);
|
||||
}
|
||||
$iframe.contents().find('form').css('-webkit-backface-visibility', 'hidden'); // to prevent jumping
|
||||
});
|
||||
|
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