commit 226196a265ab68569ecbc511348b3899cbbe8d48
parent 8a5f12680db23d6f507706667a19edd89cf456ea
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 5 Oct 2011 17:49:35 +0000
Fix sync error dialog buttons (e.g., Report Errors), and change another setTimeout() call to make function call explicit for AMO
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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);
}
}
}