PDA

View Full Version : B.hasClass is not a function?



Shawazi
8 Apr 2008, 8:47 AM
I have a loop to setup all my DDs.



var curSort = sortableAr2[i];
curSort.dd = new Ext.dd.DDProxy(curID, 'group'); //adds dragging & zone
curSort.dd.addInvalidHandleId(curID); //makes sure it won't actually move
curSort.dd.addInvalidHandleClass('stopDrag');


Everything works perfect, except when I added the addInvalidHandleClass, it throws an error. Of course this error keeps the item from dragging anyway, but I wonder why it's happening.

mjlecomte
8 Apr 2008, 11:38 AM
use ext-all-debug.js