Fix prompt after restart on Restore from Server

This commit is contained in:
Dan Stillman 2011-01-21 06:21:26 +00:00
parent 08f617554c
commit bd796aec41

View file

@ -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);