Author: sevein
Date: Thu Oct  8 15:19:14 2009
New Revision: 3700

Log:
This context has not parentNode. Instead, get 'tree' property.

Modified:
   trunk/web/js/treeView.js

Modified: trunk/web/js/treeView.js
==============================================================================
--- trunk/web/js/treeView.js    Thu Oct  8 15:09:36 2009        (r3699)
+++ trunk/web/js/treeView.js    Thu Oct  8 15:19:14 2009        (r3700)
@@ -107,7 +107,7 @@
 
                   dd.onDragDrop = function (event, id)
                     {
-                      var textNode = 
parentNode.tree.getNodeByElement(this.getEl());
+                      var textNode = node.tree.getNodeByElement(this.getEl());
 
                       var newParent = node.tree.getNodeByElement($('#' + 
id)[0]);
 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to