[Pkg-mozext-commits] [firebug] 27/68: Issue 6324: Right click on links results unexpected
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:45:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag fbtest-1.11.4
in repository firebug.
commit c8ea92078e26061d419bcba6f0f8aa32cada6ca9
Author: Jan Odvarko <odvarko at gmail.com>
Date: Mon Apr 8 13:56:53 2013 +0200
Issue 6324: Right click on links results unexpected
---
extension/content/firebug/firefox/browserOverlay.js | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/extension/content/firebug/firefox/browserOverlay.js b/extension/content/firebug/firefox/browserOverlay.js
index e4eaa89..f46bd5a 100644
--- a/extension/content/firebug/firefox/browserOverlay.js
+++ b/extension/content/firebug/firefox/browserOverlay.js
@@ -402,7 +402,6 @@ BrowserOverlay.prototype =
// https://bugzilla.mozilla.org/show_bug.cgi?id=433168
if (typeof(contextMenu.prototype.isTargetAFormControl) != "undefined")
{
- // https://bugzilla.mozilla.org/show_bug.cgi?id=433168
var setTargetOriginal = this.setTargetOriginal = contextMenu.prototype.setTarget;
contextMenu.prototype.setTarget = function(aNode, aRangeParent, aRangeOffset)
{
@@ -437,8 +436,11 @@ BrowserOverlay.prototype =
if (typeof(contextMenu) == "undefined")
return;
- contextMenu.prototype.setTarget = this.setTargetOriginal;
- contextMenu.prototype.initItems = this.initItemsOriginal;
+ if (this.setTargetOriginal)
+ contextMenu.prototype.setTarget = this.setTargetOriginal;
+
+ if (this.initItemsOriginal)
+ contextMenu.prototype.initItems = this.initItemsOriginal;
},
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list