OdinaSpb / jstree

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

Refreshing jstree results in "TypeError: h is undefined" #1023

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
First of all, we would sincerely thank you for the excellent tree component. It 
has been very easy to use and extend, and there is abundant support available.

We have exposed a file system using jstree.

What steps will reproduce the problem?
1.Open several nodes in the tree attached to div element with id - 'tree'.
2.Execute the statement which loads/refreshes root and all the opened nodes - 
$('#tree').data('jstree').load_node("#");

What is the expected output? What do you see instead?
It works some times. However, when several nodes are open, some of the nodes 
fail to load again. Context menu options are disabled for the node which failed 
to load. We need to go to the parent's parent of that node and do a refresh to 
get the tree back to consistent state.

Using firebug, found an error that said "TypeError: h is undefined".

What version of the product are you using? On what browser?
Version: v3.0.2 (2014-06-26)
Tested on firefox.

Please provide any additional information below.
Please suggest how we proceed fixing the issue.

Original issue reported on code.google.com by keshav.m...@gmail.com on 5 Aug 2014 at 8:53

Attachments:

GoogleCodeExporter commented 9 years ago
In the first attachment, please notice the samples folder which failed to load 
when entire tree was loaded. In the second attachment, please notice the 
folders - charsets, i18n and templates folder.

Original comment by keshav.m...@gmail.com on 5 Aug 2014 at 9:04