[Pkg-mozext-commits] [itsalltext] 242/459: I FINALLY FIXED THE F****NG CONTEXT MENU PROBLEM! All praise the mightly Flying Spaghetti Monster!

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit 7cab6426a5ee2346463157e109057ec3320933d3
Author: Christian Höltje <docwhat at gerf.org>
Date:   Tue Jun 19 21:23:19 2007 -0400

    I FINALLY FIXED THE F****NG CONTEXT MENU PROBLEM! All praise the mightly Flying Spaghetti Monster!
---
 src/chrome/content/cacheobj.js | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/chrome/content/cacheobj.js b/src/chrome/content/cacheobj.js
index d6ba0f9..1f5a1ce 100644
--- a/src/chrome/content/cacheobj.js
+++ b/src/chrome/content/cacheobj.js
@@ -458,11 +458,19 @@ CacheObj.prototype.addGumDrop = function() {
         return false;
     };
     var contextfun = function(event) {
+        /* This took forever to fix; roughly 80+ man hours were spent
+         * over 5 months trying to make this stupid thing work.
+         * The documentation is completely wrong and useless.
+         *
+         * Excuse me while I scream.
+         *
+         * See Mozilla bugs: 287357, 362403, 279703
+         */
         var popup = ItsAllText.rebuildMenu(cache_object.uid);
-        popup.showPopup(
-                        document.documentElement,
+        document.popupNode = popup;
+        popup.showPopup(popup,
                         event.screenX, event.screenY,
-                        'context' );
+                        'context', null, null);
         event.stopPropagation();
         return false;
     };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list