My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 471: onQueryActivate event issues
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  May 2014


 
Reported by jjm...@gmail.com, Jan 11, 2014
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
(No comment was entered for this change.)
Labels: Milestone-Release1.2.6
May 3, 2014
Project Member #2 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Accepted
May 10, 2014
Project Member #3 moo...@wwwendt.de
This issue was closed by revision r709.
Status: Fixed

Powered by Google Project Hosting