www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit e1113209d5a04b96d8cc4847ac4cbea1fa289bc7
parent 25d48fbca7d4530278661cf80358e1b165c555df
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 11 Mar 2012 16:25:47 -0400

Disable unresponsive script warning before delayed bundled files update

Diffstat:
Mchrome/content/zotero/xpcom/schema.js | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js @@ -212,7 +212,13 @@ Zotero.Schema = new function(){ // After a delay, start update of bundled files and repo updates setTimeout(function () { - var up = Zotero.Schema.updateBundledFiles(); + try { + Zotero.UnresponsiveScriptIndicator.disable(); + var up = Zotero.Schema.updateBundledFiles(); + } + finally { + Zotero.UnresponsiveScriptIndicator.enable(); + } if (up) { // Run a manual scraper update if upgraded and pref set if (Zotero.Prefs.get('automaticScraperUpdates')) {