[Pkg-mozext-commits] [firebug] 10/82: FBTest: properly init menuItem if it's available
David Prévot
taffit at moszumanska.debian.org
Mon Mar 31 22:45:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag fbtest-1.11.2
in repository firebug.
commit c801122ccb5540da07edd19b5b58d456db6aad24
Author: Jan Odvarko <odvarko at gmail.com>
Date: Wed Jan 2 14:03:16 2013 +0100
FBTest: properly init menuItem if it's available
---
tests/FBTest/content/FBTestFirebug.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/FBTest/content/FBTestFirebug.js b/tests/FBTest/content/FBTestFirebug.js
index bac4ba6..014cb94 100644
--- a/tests/FBTest/content/FBTestFirebug.js
+++ b/tests/FBTest/content/FBTestFirebug.js
@@ -2330,7 +2330,10 @@ this.executeContextMenuCommand = function(target, menuItemIdentifier, callback)
for (var item = contextMenu.firstChild; item; item = item.nextSibling)
{
if (item.label == menuItemId)
+ {
+ menuItem = item;
break;
+ }
}
}
--
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