PDA

View Full Version : TreeNode Drag and Drop - jquery error ?



joe2001
20 Apr 2011, 1:33 AM
Hi,

I'm having a problem when :
1- I drag a treenode and
2- instead of droping it in "a valid location" I drop it somewhere in my page

The problem is that the node doesn't come back and freeze. The console shows (you'll see which version of ext js and jquery I'm using):



Uncaught TypeError: Property '336' of object #<Object> is not a function
c.fx.step jquery-1.4.3.min.js:154
e jquery-1.4.3.min.js:151
c.fx.custom jquery-1.4.3.min.js:152
c.fn.extend.animate jquery-1.4.3.min.js:149
c.b.extend.each jquery-1.4.3.min.js:32
c.fn.extend.animate jquery-1.4.3.min.js:148
c.extend.dequeue jquery-1.4.3.min.js:46
c.fn.extend.queue jquery-1.4.3.min.js:46
c.b.extend.each jquery-1.4.3.min.js:32
c.b.fn.b.each jquery-1.4.3.min.js:26
c.fn.extend.queue jquery-1.4.3.min.js:46
c.fn.extend.animate jquery-1.4.3.min.js:147
Ext.lib.Anim.runext-3.1.0- jquery-adapter.js:7
Ext.lib.Anim.motionext-3.1.0- jquery-adapter.js:7
Ext.Fx.fxanim ext-all-3.1.0.js:7
Ext.Fx.shift ext-all-3.1.0.js:7
Ext.Fx.nextFx ext-all-3.1.0.js:7
Ext.Fx.queueFx ext-all-3.1.0.js:7
Ext.Fx.shift ext-all-3.1.0.js:7
Ext.dd.StatusProxy.repair ext-all-3.1.0.js:7
Ext.extend.onInvalidDrop ext-all-3.1.0.js:7
fireEvents ext-all-3.1.0.js:7
(anonymous function)ext-3.1.0- jquery-adapter.js:7
handleMouseUp ext-all-3.1.0.js:7
A ext-all-3.1.0.js:7
c.event.handle jquery-1.4.3.min.js:63
c.event.add.h.handle.n jquery-1.4.3.min.js:56


"chalda" seems to talk about a drag problem here : http://www.sencha.com/forum/showthread.php?68237-ExtJS-with-jquery-adapter-window.show-error

This thread seems to solve a problem I'm not sure is the same I have, and I didn't understood how to try the fix which is proposed in it...

Thanks for help.

mitchellsimoens
20 Apr 2011, 5:36 AM
Looks like it but can't be 100% sure