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:
parent
840790926b
commit
6c0be3426b
1 changed files with 2 additions and 2 deletions
|
@ -812,11 +812,11 @@ Zotero.Sync.Storage = new function () {
|
||||||
var updatedStates = {};
|
var updatedStates = {};
|
||||||
|
|
||||||
// OS.File didn't work reliably before Firefox 23, and on Windows it returns
|
// 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),
|
// (https://bugzilla.mozilla.org/show_bug.cgi?id=899436),
|
||||||
// so use the old code
|
// so use the old code
|
||||||
if (Zotero.platformMajorVersion < 23
|
if (Zotero.platformMajorVersion < 23
|
||||||
|| (Zotero.isWin && Zotero.platformMajorVersion < 25)) {
|
|| (Zotero.isWin && Zotero.platformMajorVersion < 24)) {
|
||||||
Zotero.debug("Performing synchronous file update check");
|
Zotero.debug("Performing synchronous file update check");
|
||||||
|
|
||||||
for each(var item in items) {
|
for each(var item in items) {
|
||||||
|
|
Loading…
Reference in a new issue