Fix Stop button for WebDAV Verify Server
This commit is contained in:
parent
e2ff2c3ab7
commit
f7765be35c
2 changed files with 3 additions and 3 deletions
|
@ -804,7 +804,7 @@ Zotero.Sync.Storage = new function () {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
_session.initFromPrefs();
|
_session.initFromPrefs();
|
||||||
_session.checkServer(callback);
|
return _session.checkServer(callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ Zotero.Sync.Storage.Session.prototype.__defineSetter__('password', function (val
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
Zotero.Sync.Storage.Session.prototype.initFromPrefs = function () {
|
Zotero.Sync.Storage.Session.prototype.init = function () {
|
||||||
try {
|
try {
|
||||||
return this._session.init();
|
return this._session.init();
|
||||||
}
|
}
|
||||||
|
@ -157,7 +157,7 @@ Zotero.Sync.Storage.Session.prototype.setLastSyncTime = function (callback, useL
|
||||||
|
|
||||||
Zotero.Sync.Storage.Session.prototype.checkServer = function (callback) {
|
Zotero.Sync.Storage.Session.prototype.checkServer = function (callback) {
|
||||||
try {
|
try {
|
||||||
this._session.checkServer(callback);
|
return this._session.checkServer(callback);
|
||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
this.onError(e);
|
this.onError(e);
|
||||||
|
|
Loading…
Reference in a new issue