From bd796aec41c9471f4aa0f76a6941f47a08b94a8d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 21 Jan 2011 06:21:26 +0000 Subject: [PATCH] Fix prompt after restart on Restore from Server --- chrome/content/zotero/overlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 8d27b8fc7e..1d4a9cb802 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -156,7 +156,7 @@ var ZoteroPane = new function() Zotero.restoreFromServer = false; setTimeout(function () { - var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] + var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); var buttonFlags = (ps.BUTTON_POS_0) * (ps.BUTTON_TITLE_IS_STRING) + (ps.BUTTON_POS_1) * (ps.BUTTON_TITLE_CANCEL);