Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-13251

Click on User Menu Action in the top bar shows the menu but never hide it

    XMLWordPrintable

    Details

    • 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

      Description

      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.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: