-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.8, 5.8.0-HF01
-
Fix Version/s: 5.8.0-HF02, 5.9.1
-
Component/s: Ergonomy & UX
I believe there is something wrong in this following code (./nuxeo-jsf/nuxeo-platform-actions-jsf/src/main/resources/web/nuxeo.war/widgets/actions/actions_widget_template.xhtml)
<script type="text/javascript"> jQuery(document).ready(function($) { jQuery('.dropDownMenu').click(function(e) { jQuery(this).find('ul').hide(); jQuery(this).find("ul").show(); e.stopPropagation(); }); jQuery(document).click(function() { jQuery('.dropDownMenu').find('ul').hide(); }); }); </script>
on click if the menu is hidden, we show it. If it is shown, we hide it. Here the only way to hide the menu is to click elsewhere in the document.