Solved: 8 Years, 3 Months, 4 Weeks ago [JavaScript] PopupMenu misplaced
#8
Solved: 8 Years, 3 Months, 4 Weeks ago
(2015-09-09, 11:44 AM)Brentsticles Wrote: I need an explanation on how to implement this fix please if someone would be kind enough as I am having the same issue.

My thread about my problem: http://community.mybb.com/thread-178100.html

  1. Delete the file jscripts/jquery.plugins.min.js
  2. Create a copy of jscripts/jquery.plugins.js and name it jscripts/jquery.plugins.min.js
  3. Open the new file and find the text (it is currently at line number 507)


                // Setup popup menu
                var offset = el.offset();
                offset.top += el.outerHeight();


  4. Replace the text with


                // Setup popup menu
                var offset = el.offset();
                // WoM fix edit popup menu start
                var el_parent = el.get(0).parentNode;
                var popup_parent = popup_menu.get(0).parentNode;
                if (el_parent === popup_parent)
                {
                  offset = el.position();
                }
                // WoM fix edit popup menu end
                offset.top += el.outerHeight();


  5. Save the file.
Reply


Messages In This Thread
PopupMenu misplaced - by moserw - 2014-09-25, 10:52 AM
RE: PopupMenu misplaced - by blackdragon - 2014-10-31, 02:06 PM
RE: PopupMenu misplaced - by moserw - 2014-10-31, 02:23 PM
RE: PopupMenu misplaced - by blackdragon - 2014-10-31, 02:31 PM
RE: PopupMenu misplaced - by moserw - 2014-11-01, 12:07 PM
RE: PopupMenu misplaced - by Leefish - 2015-02-08, 02:27 AM
RE: PopupMenu misplaced - by Brentsticles - 2015-09-09, 11:44 AM
RE: PopupMenu misplaced - by moserw - 2015-11-13, 07:32 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)