Move Zotero.Fulltext initialization

This commit is contained in:
Dan Stillman 2013-08-12 03:10:22 -04:00
parent bf0de6e02f
commit 7780560c1b

View file

@ -568,8 +568,6 @@ Components.utils.import("resource://gre/modules/Services.jsm");
Zotero.DB.addCallback('commit', Zotero.Notifier.commit);
Zotero.DB.addCallback('rollback', Zotero.Notifier.reset);
Zotero.Fulltext.init();
return Q.fcall(function () {
// Require >=2.1b3 database to ensure proper locking
if (!Zotero.isStandalone) {
@ -643,6 +641,8 @@ Components.utils.import("resource://gre/modules/Services.jsm");
Zotero.Server.init();
}
Zotero.Fulltext.init();
Zotero.Notifier.registerObserver(Zotero.Tags, 'setting');
Zotero.Sync.init();