Fix WebDAV syncing (broken in 62e779bee
)
This commit is contained in:
parent
8444a4d8b4
commit
47c4661635
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue