[Pkg-mozext-commits] [itsalltext] 360/459: ticket:77 -- Fixes the View README menu item.

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:38 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 faf8a122377e7905d3758b2567f0e4c02bc346a5
Author: Christian Höltje <docwhat at gerf.org>
Date:   Fri Jan 22 19:39:55 2010 -0500

    ticket:77 -- Fixes the View README menu item.
---
 src/chrome/content/itsalltext.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/chrome/content/itsalltext.js b/src/chrome/content/itsalltext.js
index 1c084c6..02a56a4 100644
--- a/src/chrome/content/itsalltext.js
+++ b/src/chrome/content/itsalltext.js
@@ -639,8 +639,12 @@ var ItsAllText = function () {
     };
 
     that.openReadme = function () {
-        var browser = getBrowser();
-        browser.selectedTab = browser.addTab(that.README, null);
+        try {
+            var browser = getBrowser();
+            browser.selectedTab = browser.addTab(that.README);
+        } catch (e) {
+            that.debug("failed to openReadme:", e);
+        }
     };
 
 

-- 
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