jQsafi / dynatree

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

lazy loading problem #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. When expand  "lazy loading" folder, appears minus although folder is empty.
2.
3.

(If possible, please attach an example HTML file, that works when copied
into the dynatree/doc/ folder.)

If folder is empty (no folder in it), it could be more comfortable to see
nothing (minus or plus before empty folder just mislead). 
Version 0.5.1. 

What is the expected output? What do you see instead?

What version of the product are you using?
On what operating system and browser?

Please provide any additional information below.

Original issue reported on code.google.com by witi...@gmail.com on 12 Dec 2009 at 12:32

GoogleCodeExporter commented 9 years ago
Currently the condition for "has children" is
    this.childList != null

For lazy nodes we should distinguish between 'not loaded' and 'loaded, but 
result was
empty'.

(Anyway, from a usabilty point of view, it would be better, if this parent node 
was
not marked lazy, because the user had to click on it, just to find out it's 
empty!)

Original comment by moo...@wwwendt.de on 12 Dec 2009 at 2:22

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 12 Dec 2009 at 2:25