pcirella / dynatree

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

error at line 1745 jquery.dynatree.js 0.5.1 #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. options:

    rootVisible:true,
    isFolder: true,
    isLazy: true,
    idPrefix: "view_tree_",
    onDblClick: null,
    onActivate: function ...,
    imagePath: "../img/tree/",
    fx: { height: "toggle", duration: 200 },
    activeVisible: true,
    onLazyRead: lazyLoadAction

2. click a node, it expands..
3. another click. error at line 1745 jquery.dynatree.js 'el is null'

What is the expected output? What do you see instead?
Nothing, I expect no error..

What version of the product are you using? 0.5.1
On what operating system and browser? Windows, Firefox 3.5.2 with Firebug

I suggest :

  1744    do {
 +1745         if( null == el ) return null;
  1746         if( el.dtnode ) return el.dtnode;

Original issue reported on code.google.com by nicolo.m...@gmail.com on 9 Sep 2009 at 1:26

GoogleCodeExporter commented 9 years ago
Couldn't reproduce it, but the code could be more robust...

Original comment by moo...@wwwendt.de on 9 Sep 2009 at 1:49

GoogleCodeExporter commented 9 years ago

Original comment by moo...@wwwendt.de on 9 Sep 2009 at 1:53

GoogleCodeExporter commented 9 years ago
considered verified

Original comment by moo...@wwwendt.de on 17 Jul 2012 at 4:12