I would like to skip the preview-window (CallOut Menu) (red marked in my screenshot) within the context menu / ECB-Menu [(...)-Menu] of a document in a library shown in any list view and go straight into the menu (which is opened when clicking in the preview-window again on the (...).
I have a code solution for doing this when the document library is displayed standardly (not any list for navigating to document):
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".ms-list-itemLink > a").each(function(){
this.setAttribute("onclick","ShowECBMenuForTr(this.parentNode, event); return false;");
});
});
</script>
Unfortunately, as soon as I switch the view of document library to the view shown in my Screenshot, it doesn't work anymore. What do I have to add to this Code, that it also works for the view of document library shown in my Screenshot? (red marked with handmade "circles")