pcirella / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

When icon="false" img place holders are seen until the tree is finished rendering #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a decent size tree (i.e. 100-200+ items)
2. Use the following for all the li elements:  <li data="icon: 'false'">

What is the expected output? What do you see instead?
I would expect the img place holders to not even be rendered.  However, they 
are and it makes the tree a bit ugly for a few seconds until they are removed.

This is on dynatree 1.2.0 on FireFox 7.0.1.

Original issue reported on code.google.com by m...@pennerfamily.org on 14 Nov 2011 at 9:27

Attachments:

GoogleCodeExporter commented 9 years ago
Arg!  Please close this issue. :)  I saw in my logs taht I was getting errors 
because skins/false was not found.

Then I realized I should have been using:
<li data="icon: false"> (no single quotes around false).

Now it works great! (I did use the fix in Issue 237 to correct the line height 
problem in FireFox)

Original comment by m...@pennerfamily.org on 14 Nov 2011 at 9:35

GoogleCodeExporter commented 9 years ago
no problem, thanks for reporting the solution.

Original comment by moo...@wwwendt.de on 14 Nov 2011 at 7:00

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 26 Jan 2013 at 4:08