[Pkg-mozext-commits] [itsalltext] 350/459: Removed no-longer needed closure.
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:37 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 18e1229970e20c7044c9e32e08082ca84bf1a555
Author: Christian Höltje <docwhat at gerf.org>
Date: Tue Feb 10 22:07:16 2009 -0500
Removed no-longer needed closure.
---
src/chrome/content/itsalltext.js | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/chrome/content/itsalltext.js b/src/chrome/content/itsalltext.js
index 0d68d9a..25f12f1 100644
--- a/src/chrome/content/itsalltext.js
+++ b/src/chrome/content/itsalltext.js
@@ -903,10 +903,7 @@ ItsAllText.prototype.rebuildMenu = function (uid, menu_id, is_disabled) {
for (i = 0; i < exts.length; i++) {
node = document.createElementNS(that.XULNS, 'menuitem');
node.setAttribute('label', that.localeFormat('edit_ext', [exts[i]]));
- (function () {
- var ext = exts[i];
- that.listen(node, 'command', that.hitch(that, 'menuExtEdit', ext, true), false);
- })();
+ that.listen(node, 'command', that.hitch(that, 'menuExtEdit', exts[i], true), false);
node.setAttribute('disabled', is_disabled?'true':'false');
menu.insertBefore(node, magic_stop_node);
}
--
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