Sochettra / dynatree

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

New method `node.isLoading()` #260

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This function would allow to test for currently loading active nodes.
A global `tree.isLoading()` would return true if any Ajax request is pending.

Original issue reported on code.google.com by moo...@wwwendt.de on 28 Dec 2011 at 8:56

GoogleCodeExporter commented 8 years ago
Current workaround
use `node.hasChildren() === undefined` to check for unloaded/loading lazy nodes.
Another way is to test for the 'dynatree-loading' class.
Then, return `false` in onDragStart.

Original comment by moo...@wwwendt.de on 28 Dec 2011 at 9:03

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r559.

Original comment by moo...@wwwendt.de on 28 Dec 2011 at 12:09