From bf94ea3eae3d4423f7bf082c5334ad539e4074c2 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 24 Jan 2008 18:55:20 +0000 Subject: [PATCH] Send urifix GET flag to repo on 1.0.3 upgrade --- chrome/content/zotero/xpcom/schema.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 781ae5f19..7167e7b35 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -210,6 +210,7 @@ Zotero.Schema = new function(){ if (syncVersion < syncTargetVersion) { _updateDBVersion('sync', syncTargetVersion); force = true; + var uriChangeFix = true; } } @@ -265,6 +266,11 @@ Zotero.Schema = new function(){ else { url += '&m=1'; } + + // Fix for styles with new URIs in 1.0.3 + if (uriChangeFix) { + url += '&urifix=1'; + } } var get = Zotero.Utilities.HTTP.doGet(url, function (xmlhttp) {