The following warnings occurred:
Warning [2] Undefined array key "sourceeditor" - Line: 718 - File: inc/plugins/rineditor.php PHP 8.2.16 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/rineditor.php 718 errorHandler->error_callback
/inc/plugins/rineditor.php 776 rineditor_inserter_quick
/inc/class_plugins.php 142 rineditor
/showthread.php 471 pluginSystem->run_hooks



effone   08-05-2019, 07:01 PM
#1
We have seen several support threads about the modal content is appearing at the bottom of page with no overlay.
Well, here is the fix.

There is a bug in js code and the chaining fails, and MyBB.popupWindow(); simply appends the modal code to the body. But the plugin fails to initiate.
So if we break the chain, the issue gets resolved.

Lets break it.
Open general.js and go to line 107, find this line:
$(html).appendTo('body').modal(options);

Now change the line to:
$(html).appendTo('body').addClass('lastModal').hide();
$('.lastModal').removeClass('lastModal').modal(options);

Save the file, hard refresh / clear cache of your browser and load the page, fire a modal you were having the issue with. Its resolved now.
This post was last modified: 12-05-2019, 10:32 AM by effone.
  
Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by MattyWjeisz of Curves UI.