[jQuery] treeview async - behaviour with 'unique' option: feature or bug
I'm not a very skilled JavaScript programmer, so when I make use of
JavaScript, I always use jQuery. Currently I'm working on a Java
application in which I make use of jQuery and the treeview plugin.
Because my tree can grow quite large, I decided to start using the
async version.
Apparently treeview behaves differently, depending on whether the
'unique' option is set or not. If it's not (the default), treeview
accesses the data page (url: source.php) only once, that is for the
node being clicked (if it's the first time). However, when the
'unique' option is in effect, the data page appears to be accessed for
each and every node that's on the same level as the clicked node. Is
this meant to be a feature or is it a bug? In my opinion, treeview
should behave the same, irrespective of the setting of the 'unique'
option.