commit 56b6a0d02149c548284178cde5017bde93cd4401
parent 612066d7496850db7a416a6c024e0c6bc11247b5
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 4 Jan 2017 17:28:46 -0500
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
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js
@@ -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) {