diff --git a/chrome/content/zotero/bindings/noteeditor.xml b/chrome/content/zotero/bindings/noteeditor.xml index 9bd20e27d2..295017cf67 100644 --- a/chrome/content/zotero/bindings/noteeditor.xml +++ b/chrome/content/zotero/bindings/noteeditor.xml @@ -442,7 +442,7 @@ // If editable and no existing tags, open new empty row var tagsBox = this.id('tags'); if (tagsBox.mode == 'edit' && tagsBox.count == 0) { - this.id('tags').new(); + this.id('tags').newTag(); } ]]> @@ -573,7 +573,7 @@ tagsbox and tagsLabel above, so be sure to update fixPopup() if it changes --> diff --git a/chrome/content/zotero/bindings/tagsbox.xml b/chrome/content/zotero/bindings/tagsbox.xml index 265ef25d5b..9971d3bd83 100644 --- a/chrome/content/zotero/bindings/tagsbox.xml +++ b/chrome/content/zotero/bindings/tagsbox.xml @@ -725,7 +725,7 @@ - + + oncommand="document.getBindingParent(this).newTag();"/> diff --git a/chrome/content/zotero/bindings/tagselector.xml b/chrome/content/zotero/bindings/tagselector.xml index 36f43ff127..f10463302e 100644 --- a/chrome/content/zotero/bindings/tagselector.xml +++ b/chrome/content/zotero/bindings/tagselector.xml @@ -805,7 +805,7 @@ - + + oncommand="document.getBindingParent(this).deleteTag(_popupNode.textContent); event.stopPropagation()"/> diff --git a/test/tests/tagSelectorTest.js b/test/tests/tagSelectorTest.js index 3d3f4e8fc2..4737b21412 100644 --- a/test/tests/tagSelectorTest.js +++ b/test/tests/tagSelectorTest.js @@ -363,7 +363,7 @@ describe("Tag Selector", function () { promise = waitForTagSelector(win); var dialogPromise = waitForDialog(); var tagSelector = doc.getElementById('zotero-tag-selector'); - yield tagSelector.delete("A"); + yield tagSelector.deleteTag("A"); yield promise; // Tag selector shouldn't show the deleted item's tag