[Pkg-mozext-commits] [adblock-plus] 51/74: Issue 701 - Don't handle middle- and right-clicks on report link
David Prévot
taffit at moszumanska.debian.org
Tue Aug 11 12:07:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 265ce8db66e40c8b43d4c73a5c0d96c0a3464a11
Author: Wladimir Palant <trev at adblockplus.org>
Date: Mon Jul 20 14:33:50 2015 +0200
Issue 701 - Don't handle middle- and right-clicks on report link
---
chrome/content/ui/sendReport.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/chrome/content/ui/sendReport.js b/chrome/content/ui/sendReport.js
index 1ed91ae..2a7b140 100644
--- a/chrome/content/ui/sendReport.js
+++ b/chrome/content/ui/sendReport.js
@@ -733,7 +733,7 @@ let subscriptionUpdateDataSource =
type: null,
outdated: null,
needUpdate: null,
-
+
subscriptionFilter: function(s)
{
if (s instanceof DownloadableSubscription)
@@ -1557,6 +1557,9 @@ function reportSent(event)
function processLinkClick(event)
{
+ if (event.button != 0)
+ return;
+
event.preventDefault();
let link = event.target;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list