Add a debug call for Zotero.wait()
This commit is contained in:
parent
3c0e11121f
commit
28cc02f954
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,8 @@ const ZOTERO_CONFIG = {
|
||||||
WWW_BASE_URL: 'http://www.zotero.org/',
|
WWW_BASE_URL: 'http://www.zotero.org/',
|
||||||
SYNC_URL: 'https://sync.zotero.org/',
|
SYNC_URL: 'https://sync.zotero.org/',
|
||||||
API_URL: 'https://api.zotero.org/',
|
API_URL: 'https://api.zotero.org/',
|
||||||
PREF_BRANCH: 'extensions.zotero.'
|
PREF_BRANCH: 'extensions.zotero.',
|
||||||
|
BOOKMARKLET_URL: 'https://www.zotero.org/bookmarklet/'
|
||||||
};
|
};
|
||||||
|
|
||||||
// Load AddonManager for Firefox 4
|
// Load AddonManager for Firefox 4
|
||||||
|
@ -1476,6 +1477,7 @@ if(appInfo.platformVersion[0] >= 2) {
|
||||||
|
|
||||||
_waiting = true;
|
_waiting = true;
|
||||||
|
|
||||||
|
Zotero.debug("Waiting", 5);
|
||||||
do {
|
do {
|
||||||
more = mainThread.processNextEvent(false);
|
more = mainThread.processNextEvent(false);
|
||||||
//cycles++;
|
//cycles++;
|
||||||
|
|
Loading…
Reference in a new issue