Use async storage mtime checking in Fx24 on Windows

https://bugzilla.mozilla.org/show_bug.cgi?id=899436 was backported to 24
This commit is contained in:
Dan Stillman 2013-09-05 16:36:15 -04:00
parent 840790926b
commit 6c0be3426b

View file

@ -812,11 +812,11 @@ Zotero.Sync.Storage = new function () {
var updatedStates = {};
// OS.File didn't work reliably before Firefox 23, and on Windows it returns
// the access time instead of the modification time until Firefox 25
// the access time instead of the modification time until Firefox 24
// (https://bugzilla.mozilla.org/show_bug.cgi?id=899436),
// so use the old code
if (Zotero.platformMajorVersion < 23
|| (Zotero.isWin && Zotero.platformMajorVersion < 25)) {
|| (Zotero.isWin && Zotero.platformMajorVersion < 24)) {
Zotero.debug("Performing synchronous file update check");
for each(var item in items) {