Fix "Report Errors…" button in Utilities.Internal.errorPrompt() prompt
E.g., the button in an unknown WebDAV error dialog
This commit is contained in:
parent
88c4cd1a09
commit
537aa15842
1 changed files with 3 additions and 1 deletions
|
@ -398,7 +398,9 @@ Zotero.Utilities.Internal = {
|
|||
if (typeof buttonText == 'undefined') {
|
||||
buttonText = Zotero.getString('errorReport.reportError');
|
||||
buttonCallback = function () {
|
||||
win.ZoteroPane.reportErrors();
|
||||
var zp = Zotero.getActiveZoteroPane();
|
||||
// TODO: Open main window if closed
|
||||
if (zp) zp.reportErrors();
|
||||
}
|
||||
}
|
||||
// If secondary button is explicitly null, just use an alert
|
||||
|
|
Loading…
Reference in a new issue