Bring standalone to foreground before issuing incompatible version warning, at least on OS X

This commit is contained in:
Simon Kornblith 2011-07-19 22:23:55 +00:00
parent 4e0da80afc
commit ea02f39f3e

View File

@ -423,6 +423,7 @@ Zotero.Server.Connector.IncompatibleVersion.prototype = {
sendResponseCallback(404);
if(Zotero.Server.Connector.IncompatibleVersion._errorShown) return;
Zotero.Integration.activate();
var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].
createInstance(Components.interfaces.nsIPromptService);
ps.confirm(null,