mirror of
https://github.com/zotero/zotero.git
synced 2026-09-21 00:22:44 +00:00
Mirror of https://github.com/zotero/zotero.git
When starting in Connector mode (i.e. Standalone is open), Zotero first starts in Full mode, looks for Standalone, then "shuts down" and restarts in Connector mode. `Zotero.shutdown()` returns a promise which is then followed up by a `Zotero.init` call. Thus, when starting in Connector mode, Zotero initialization is asynchronous and makes it possible for `Zotero_Browser.init()` to be called before `Zotero.initialized` is true, which prevents `Zotero_Browser` from initializing. Additionally, even if `Zotero_Browser.init()` is called after Zotero is initialized in Connector mode, it is possible that `Zotero_Browser.init()` will be called _after_ the "load" event for browser.xul has already fired, so `chromeLoad` is never called. This patch ensures that both of these race conditions are taken into account. |
||
|---|---|---|
| chrome | ||
| components | ||
| defaults/preferences | ||
| resource | ||
| styles@e6a736644b | ||
| translators@0c7b09949a | ||
| .gitmodules | ||
| chrome.manifest | ||
| COPYING | ||
| install.rdf | ||
| README.md | ||
| update.rdf | ||
Zotero
Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
For more information on how to use this source code, see the Zotero wiki.