Click a button in the sync error panel should close the panel
This commit is contained in:
parent
629f4b3cc5
commit
110bf42e5f
|
@ -1025,7 +1025,10 @@ Zotero.Sync.Runner = new function () {
|
||||||
|
|
||||||
var button = doc.createElement('button');
|
var button = doc.createElement('button');
|
||||||
button.setAttribute('label', buttonText);
|
button.setAttribute('label', buttonText);
|
||||||
button.onclick = buttonCallback;
|
button.onclick = function () {
|
||||||
|
buttonCallback.call(this);
|
||||||
|
panel.hidePopup();
|
||||||
|
}
|
||||||
buttons.appendChild(button);
|
buttons.appendChild(button);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user