mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Hide sync error panel after custom button is clicked
This commit is contained in:
parent
e5bf7eff21
commit
c146adce38
1 changed files with 4 additions and 1 deletions
|
|
@ -1169,7 +1169,10 @@ Zotero.Sync.Runner_Module = function (options = {}) {
|
|||
|
||||
var button = doc.createElement('button');
|
||||
button.setAttribute('label', buttonText);
|
||||
button.onclick = buttonCallback;
|
||||
button.onclick = function () {
|
||||
buttonCallback();
|
||||
panel.hidePopup();
|
||||
};
|
||||
buttons.appendChild(button);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue