Fix sync error dialog buttons (e.g., Report Errors), and change another setTimeout() call to make function call explicit for AMO

This commit is contained in:
Dan Stillman 2011-10-05 17:49:35 +00:00
parent 8a5f12680d
commit 226196a265

View file

@ -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);
}
}
}