My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 248: When icon="false" img place holders are seen until the tree is finished rendering
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Nov 2011


 
Reported by MattPenn...@gmail.com, Nov 14, 2011
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.
dynatree icon placeholder bug.png
3.8 KB   View   Download
Nov 14, 2011
#1 MattPenn...@gmail.com
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)
Nov 14, 2011
Project Member #2 moo...@wwwendt.de
no problem, thanks for reporting the solution.
Status: Invalid
Jan 26, 2013
Project Member #3 moo...@wwwendt.de
(No comment was entered for this change.)
Labels: Milestone-Release0.0
Jun 25, 2015
#4 priyanka...@infobeans.com
after removing single quotes, it will work. :)

Powered by Google Project Hosting