Remove Transform Text submenu and put options directly in context menu

This commit is contained in:
Dan Stillman 2019-07-19 23:13:25 -04:00
parent 7d5f6cdbfd
commit 8c7e47495e

View file

@ -2611,14 +2611,10 @@
}
}.bind(document.getBindingParent(this))();"/>
<menupopup id="zotero-field-transform-menu">
<menu label="&zotero.item.textTransform;">
<menupopup>
<menuitem label="&zotero.item.textTransform.titlecase;" class="menuitem-non-iconic"
oncommand="document.getBindingParent(this).textTransform(document.popupNode, 'title')"/>
<menuitem label="&zotero.item.textTransform.sentencecase;" class="menuitem-non-iconic"
oncommand="document.getBindingParent(this).textTransform(document.popupNode, 'sentence')"/>
</menupopup>
</menu>
<menuitem label="&zotero.item.textTransform.titlecase;" class="menuitem-non-iconic"
oncommand="document.getBindingParent(this).textTransform(document.popupNode, 'title')"/>
<menuitem label="&zotero.item.textTransform.sentencecase;" class="menuitem-non-iconic"
oncommand="document.getBindingParent(this).textTransform(document.popupNode, 'sentence')"/>
</menupopup>
<menupopup id="zotero-creator-transform-menu"
onpopupshowing="var row = Zotero.getAncestorByTagName(document.popupNode, 'row');