Add some additional logging to docs plugin installer
This commit is contained in:
parent
225215842d
commit
0ceb5ec9a9
1 changed files with 7 additions and 2 deletions
|
@ -212,8 +212,13 @@ ZoteroPluginInstaller.prototype = {
|
|||
Zotero.getString('zotero.preferences.wordProcessors.reinstall', this._addon.APP) :
|
||||
Zotero.getString('zotero.preferences.wordProcessors.install', this._addon.APP)));
|
||||
button.addEventListener("command", function() {
|
||||
var zpi = new ZoteroPluginInstaller(addon, false, true);
|
||||
zpi.showPreferences(document);
|
||||
Zotero.debug(`Install button pressed for ${addon.APP} plugin`);
|
||||
try {
|
||||
var zpi = new ZoteroPluginInstaller(addon, false, true);
|
||||
zpi.showPreferences(document);
|
||||
} catch (e) {
|
||||
Zotero.logError(e);
|
||||
}
|
||||
}, false);
|
||||
hbox.appendChild(button);
|
||||
groupbox.appendChild(hbox);
|
||||
|
|
Loading…
Reference in a new issue