| Issue 471: | onQueryActivate event issues | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem?
1. Setup your tree using the code below (the view model object is not necessary, you can assign the callback functions inline
2. Select a node at any level
3. Select another node at any level
4. Notice that the onQueryActivate callback fires first for the newly selected node, and then fires twice for the unselected node.
Dynatree Initialization Code:
viewModel.viewObject =
$("#tree").dynatree({
debugLevel: 0,
initAjax: {
postProcess: viewModel.postProcessTree,
url: getCoursesAction
},
persist: true,
selectMode: 1,
onActivate: viewModel.onTreeActivate,
onQueryActivate: viewModel.onTreeQueryActivate
});
What is the expected output? What do you see instead?
jQuery version: 2.0.0
jQuery UI version: 1.10.3
Dynatree version: 1.2.5
On what operating system and browser? Chrome, Windows 7
What DOCTYPE declaration are you using?
<!DOCTYPE html>
Please let me know if you need any additional info
Jan 12, 2014
Project Member
#1
moo...@wwwendt.de
Labels:
Milestone-Release1.2.6
May 3, 2014
(No comment was entered for this change.)
Status:
Accepted
|