commit 47c466163542818f23aa499388d048ce150cb304
parent 8444a4d8b490dadb75399b2bb193d48d3d54d400
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 21 Mar 2014 03:21:26 -0400
Fix WebDAV syncing (broken in 62e779bee)
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js
@@ -603,7 +603,7 @@ Zotero.HTTP = new function() {
}
// Don't display password in console
- var disp = this.getDisplayURI(uri);
+ var disp = Zotero.HTTP.getDisplayURI(uri);
var bodyStart = body.substr(0, 1024);
Zotero.debug("HTTP " + method + " "
@@ -653,7 +653,7 @@ Zotero.HTTP = new function() {
*/
this.WebDAV.doMkCol = function (uri, callback) {
// Don't display password in console
- var disp = this.getDisplayURI(uri);
+ var disp = Zotero.HTTP.getDisplayURI(uri);
Zotero.debug("HTTP MKCOL " + disp.spec);
if (Zotero.HTTP.browserIsOffline()) {
@@ -687,7 +687,7 @@ Zotero.HTTP = new function() {
*/
this.WebDAV.doPut = function (uri, body, callback) {
// Don't display password in console
- var disp = this.getDisplayURI(uri);
+ var disp = Zotero.HTTP.getDisplayURI(uri);
var bodyStart = "'" + body.substr(0, 1024) + "'";
Zotero.debug("HTTP PUT "
@@ -729,7 +729,7 @@ Zotero.HTTP = new function() {
*/
this.WebDAV.doDelete = function (uri, callback) {
// Don't display password in console
- var disp = this.getDisplayURI(uri);
+ var disp = Zotero.HTTP.getDisplayURI(uri);
Zotero.debug("WebDAV DELETE to " + disp.spec);