menu is not expandable - bug in icntoggle() javascript
- Status
- Open
- Subject
- menu is not expandable - bug in icntoggle() javascript
- Version
- 2.x
6.x - Category
- Error
- Regression
- Usability
- Feature
- Menu
User Menu - Submitted by
- hfalk
- Lastmod by
- Marc Laporte
- Rating
- Related-to
- Description
I use Tikiwiki v2.2
I use the standard menu id=42 for admin menu on the right pane on my website but the menus will not expand so I am able to see the menuitems.
I get the following javascript error in my browser:
Error: document.getElementsByName("icn" + foo)0 is undefined
Source File: http://www.mydomain.com/lib/tiki-js.js
Line: 520- Solution
If I comment out line 520-522 in function icntoggle() in lib/tiki-js.js
then the code is as in v1.9.11 and worksCopy to clipboardif (!img) { // if (document.getElementsByName('icn' + foo)[0].src.search(/[\\\/]/)) // img = document.getElementsByName('icn' + foo)[0].src.replace(/.*[\\\/]([^\\\/]*)$/, "$1"); // else img = 'folder.png'; }
I do not know if this is a longterm solution but I think someone should to fix it in a future release.- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 2184
- Created
- Wednesday 26 November, 2008 21:06:21 UTC
by Unknown - LastModif
- Monday 10 June, 2013 01:49:44 UTC