www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit f7765be35c3cd9bf6eb6a3c27db22ef2f866eb60
parent e2ff2c3ab764f3095de846880681fd75670f965d
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 26 Dec 2010 17:31:15 +0000

Fix Stop button for WebDAV Verify Server


Diffstat:
Mchrome/content/zotero/xpcom/storage.js | 2+-
Mchrome/content/zotero/xpcom/storage/session.js | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/storage.js b/chrome/content/zotero/xpcom/storage.js @@ -804,7 +804,7 @@ Zotero.Sync.Storage = new function () { } ); _session.initFromPrefs(); - _session.checkServer(callback); + return _session.checkServer(callback); } diff --git a/chrome/content/zotero/xpcom/storage/session.js b/chrome/content/zotero/xpcom/storage/session.js @@ -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);