Login Register

source.getItem

[Solved] source.getItem(this.manager.nodes[i].id) is undefined (dynamic dnd)

Hi,

I've been searching the forums for an answer regarding dynamically adding/removing nodes to a dojo.dnd.Source and have been successful in that it essentially "works". Even though it does work, I get the following error in my ff console:

Error: source.getItem(this.manager.nodes[i].id) is undefined
Source File: http://localhost/trunk/public/scripts/dojo/dojo/dojo.js.uncompressed.js
Line: 477

whenever I drag a created node. Has anyone come across such an error or can guide me on finding out more about what it is? Line 477 is a line a block comment.

Here's my creator:

Syndicate content