From 8c3cf11df1bfee0c6b8c9a5347888a7296e3fbc1 Mon Sep 17 00:00:00 2001 From: aurimasv Date: Thu, 7 Nov 2013 20:55:07 -0600 Subject: [PATCH] Open update wizard in Standalone --- chrome/content/zotero/xpcom/zotero.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 589b439e4..1060f605d 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -653,7 +653,10 @@ Components.utils.import("resource://gre/modules/Services.jsm"); // "Check for updates" button if(index === 0) { if(Zotero.isStandalone) { - ZoteroStandalone.checkForUpdates(); + Components.classes["@mozilla.org/embedcomp/window-watcher;1"] + .getService(Components.interfaces.nsIWindowWatcher) + .openWindow(null, 'chrome://mozapps/content/update/updates.xul', + 'updateChecker', 'chrome,centerscreen', null); } else { // In Firefox, show the add-on manager Components.utils.import("resource://gre/modules/AddonManager.jsm");