To reproduce:
1. Create a new touchscreen BookmarkGroup with a slug called something other
than "earth", "moon", or "mars".
2. Try selecting its icon on the legacy touchscreen interface.
3. Curse when it does not appear and Javascript errors come out instead.
The toggleExpand() and noneExpand() JavaScript functions handle showing and
hiding the touchscreen bookmark menus. But they're woefully unable to handle
menus for groups other than "earth", "moon", "mars", and "layers".
http://code.google.com/p/liquid-galaxy/source/browse/display_control/templates/t
ouchscreen_legacy.html?repo=lg-cms#29
http://code.google.com/p/liquid-galaxy/source/browse/display_control/static/touc
hscreen_legacy/javascript.js?repo=lg-cms#165
Please refactor this functionality any elegant and scalable way you see fit.
Also try adding a functional test so Selenium may confirm this works.
Original issue reported on code.google.com by AxisOfEn...@gmail.com on 27 Jun 2013 at 6:17
Original issue reported on code.google.com by
AxisOfEn...@gmail.com
on 27 Jun 2013 at 6:17