[Pkg-mozext-commits] [greasemonkey] 22/45: Add-ons Manager: only force sort User Scripts.
David Prévot
taffit at moszumanska.debian.org
Mon Nov 3 20:59:20 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 84ad4bd8136fe593bad1f8f59f3ceaa6c075e200
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Thu Oct 2 11:53:57 2014 -0400
Add-ons Manager: only force sort User Scripts.
Fixes #2021
---
content/addons4-overlay.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/content/addons4-overlay.js b/content/addons4-overlay.js
index d1cf329..67fd5e4 100644
--- a/content/addons4-overlay.js
+++ b/content/addons4-overlay.js
@@ -217,6 +217,8 @@ function onSortersClicked(aEvent) {
};
function applySort() {
+ if (userScriptViewId != gViewController.currentViewId) return;
+
// Find checked button.
var buttons = document.getElementById('greasemonkey-sort-bar')
.getElementsByTagName('button');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list