Set browser.dom.window.dump.enabled to true if debug output enabled
dump() works regardless within XPCOM (which is how Zotero.debug() works), but not on window objects without this pref
This commit is contained in:
parent
612066d749
commit
56b6a0d021
1 changed files with 2 additions and 0 deletions
|
@ -49,6 +49,8 @@ Zotero.Debug = new function () {
|
|||
|
||||
this.storing = _store;
|
||||
this.enabled = _console || _store;
|
||||
|
||||
Zotero.Prefs.set('browser.dom.window.dump.enabled', _console, true);
|
||||
}
|
||||
|
||||
this.log = function (message, level, stack) {
|
||||
|
|
Loading…
Reference in a new issue