Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.1
-
None
-
Operating System:
PHP Version: 5.2.5
Database and version:
Browser (and version): Tested in IE7 and Firefox 2 +3
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
Issue Links
- relates to
-
EZP-13851 Clicking Collapse or Expand makes browser jump to the top of the page
- Closed