From 226196a265ab68569ecbc511348b3899cbbe8d48 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 5 Oct 2011 17:49:35 +0000 Subject: [PATCH] Fix sync error dialog buttons (e.g., Report Errors), and change another setTimeout() call to make function call explicit for AMO --- chrome/content/zotero/xpcom/sync.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index 3c2eae218c..aed5821741 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -884,7 +884,7 @@ Zotero.Sync.Runner = new function () { ); if (index == 1) { - setTimeout(buttonCallback, 1); + setTimeout(function () { buttonCallback(); }, 1); } } @@ -920,7 +920,7 @@ Zotero.Sync.Runner = new function () { ); if (index == 1) { - setTimeout(function () { buttonCallback }, 1); + setTimeout(function () { buttonCallback(); }, 1); } } }