diff --git a/chrome/content/zotero/bindings/merge.xml b/chrome/content/zotero/bindings/merge.xml index 3cf96f7227..33bbaf007c 100644 --- a/chrome/content/zotero/bindings/merge.xml +++ b/chrome/content/zotero/bindings/merge.xml @@ -299,6 +299,16 @@ this.parent.choosePane(this); + button.hidden = false; + } + else { + button.hidden = true; + } + if (val.deleted) { this.deleted = true; return; @@ -341,18 +351,6 @@ objbox.setAttribute("flex", "1"); objbox.mode = this.type == 'file' ? 'filemerge' : 'merge'; - var button = this._id('choose-button'); - if (this.showButton) { - button.label = Zotero.getString('sync.conflict.chooseThisVersion'); - button.onclick = function () { - this.parent.choosePane(this); - }.bind(this); - button.hidden = false; - } - else { - button.hidden = true; - } - // Store JSON this._data = val;