www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a55852ea1c0d61b7330c6fc30417869306b63867
parent 61452a835b0442c09a1c5743bfbc343e598de6b9
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 31 May 2017 00:43:19 -0400

Log Zotero.alert() calls to the terminal

Diffstat:
Mchrome/content/zotero/xpcom/zotero.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js @@ -1127,6 +1127,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js"); * @param {String} msg */ this.alert = function (window, title, msg) { + this.debug(`Alert:\n\n${msg}`); var ps = Components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getService(Components.interfaces.nsIPromptService); ps.alert(window, title, msg);