Fix WebDAV syncing (broken in 62e779bee)

This commit is contained in:
Dan Stillman 2014-03-21 03:21:26 -04:00
parent 8444a4d8b4
commit 47c4661635

View file

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