| Issue 170: | Empty Child List gives error in case of lazy loading | |
| 2 people starred this issue and may be notified of changes. | Back to list |
In case of using lazy loading feature of the dynatree if user tries to retrieve the child nodes by expanding a node, then in case of empty child list it throws javascript error.
As per our analysis this error is coming because in appendAjax function code is trying to render the empty child list. Which should not have been done as there is nothing to render.
A similar bug was reported or fixed in error # 164 but it looks like it haven't taken care of all the possible scenarios.
if($.isArray(data) && data.length === 0){
self.childList = [];
self.render();
}
the line self.render shouldn't have been their or rendering would have handled this scenario.
Jan 13, 2011
This is probably the same cause as #168
Status:
Duplicate
Mergedinto: 168
Jan 16, 2011
Initially even I assumed that it is same as #168 and it should have been taken care in version 1.0.2. We downloaded the version 1.0.3 and we faced this problem in case of empty response received in AJAX Response. Probably whatever changes were done for #168 didn't take care of thus issue.
Jan 17, 2011
The fix for #168 was made for 1.0.4, which is not released, but available in the trunk
Jan 17, 2011
OK... Thanks for a quick clarification... We will wait for 1.0.4 release. One thing that i wanted to ask is that can I join this project as the contributor. As I feel that you have created a very good plug-in and I will be more then happy if I can help you with this plugin. I am currently working as Technical Project Manager with Dallas Based company on Java/J2EE platform and have 6 years of experience in web development. I have been using jQuery and its various plugin for last 3 years.
Jan 23, 2011
(No comment was entered for this change.)
Labels:
Milestone-Release1.1.0
|
Labels: Milestone-Release1.0.4