Fix Stop button for WebDAV Verify Server

This commit is contained in:
Dan Stillman 2010-12-26 17:31:15 +00:00
parent e2ff2c3ab7
commit f7765be35c
2 changed files with 3 additions and 3 deletions

View file

@ -804,7 +804,7 @@ Zotero.Sync.Storage = new function () {
}
);
_session.initFromPrefs();
_session.checkServer(callback);
return _session.checkServer(callback);
}

View file

@ -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 {
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) {
try {
this._session.checkServer(callback);
return this._session.checkServer(callback);
}
catch (e) {
this.onError(e);