Partly revert explicitly closing plugin menu on click.

It's only necessary for the conflicts filter, and causes other issues if
used for the other menu entries. Closes #425.
This commit is contained in:
Oliver Hamlet
2015-04-30 15:07:05 +01:00
parent 509e341c82
commit 5c8aea5e1e
@@ -344,7 +344,6 @@ loot-clear-metadata
}
card.data.isEditorOpen = true;
card.data.isMenuOpen = false;
/* Fire an open event, so that the UI can enter edit mode. */
card.dispatchEvent(new CustomEvent('loot-editor-open', {
@@ -365,14 +364,12 @@ loot-clear-metadata
},
onCopyMetadata: function(evt) {
getMenuItemCard(this).data.isMenuOpen = false;
evt.target.dispatchEvent(new CustomEvent('loot-copy-metadata', {
bubbles: true,
}));
},
onClearMetadata: function(evt) {
getMenuItemCard(this).data.isMenuOpen = false;
evt.target.dispatchEvent(new CustomEvent('loot-clear-metadata', {
bubbles: true,
}));