Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-13593

# in links (content_structure_menu_dynamic.tpl) should be javascript:void(0)

    XMLWordPrintable

Details

    Description

      The + and - icons in the Admin Treemenu have a href="#" in their links. So if you have a big expanded tree and click on a + or - icon you will always jump to the top of the page.

      This behaviour could be easily avoided by replacing the href="#" with href="javascript:void(0)".

      I think its only in line 158 in design/admin/templates/contentstructuremenu/content_structure_menu_dynamic.tpl

      Replace

                     + '" href="#" onclick="this.blur(); return treeMenu.load( this, '
      

      by

                      + '" href="javascript:void(0)" onclick="this.blur(); return treeMenu.load( this, '
      
      Steps to reproduce

      Expand the content tree in the normal Admininterface, scroll down a bit, click an icon to expand.

      Attachments

        Activity

          People

            ls ls
            pkaiser pkaiser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: