commit 2c81638fc7fea8bbf9e15b4999806ace2601cefd parent 67831bcb790c171411a4d9b267b07c2a662df6a1 Author: Dan Stillman <dstillman@zotero.org> Date: Mon, 12 Oct 2009 22:01:49 +0000 Output debug message on restart error Diffstat:
| M | chrome/content/zotero/overlay.js | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js @@ -3142,9 +3142,9 @@ var ZoteroPane = new function() if (popup) { var pw = new Zotero.ProgressWindow(); pw.changeHeadline(Zotero.getString('general.errorHasOccurred')); - var desc = Zotero.getString('general.restartFirefox') + ' ' + var msg = Zotero.getString('general.restartFirefox') + ' ' + reportInstructions; - pw.addDescription(desc); + pw.addDescription(msg); pw.show(); pw.startCloseTimer(8000); } @@ -3155,6 +3155,7 @@ var ZoteroPane = new function() + reportInstructions; self.setItemsPaneMessage(msg, true); } + Zotero.debug(msg, 1); } }