venkatanagaraju / dynatree

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

onQueryActivate event issues #471

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by jjm...@gmail.com on 11 Jan 2014 at 10:11

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 12 Jan 2014 at 10:24

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 3 May 2014 at 4:59

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r709.

Original comment by moo...@wwwendt.de on 10 May 2014 at 7:52