[jboss-user] [JBoss Portal] - Re: JBPORTAL-1978 : scriptaculous & prototype js

wesleyhales do-not-reply at jboss.com
Tue Nov 25 20:25:53 EST 2008


btw, I checked the code to see where drag and drop was failing and the only relevant change is the one at line 306 :
var regions_on_page = $$(".dnd-region");

Prototype uses the double dollar sign to getElementByClassNames but when you do this manually using the document.getElementByClassNames() js function the "drop" in drag and drop stops working.
It even returns the proper elements but for some reason the followinf for loop using Sortable.create does not handle the element... weird.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192314#4192314

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192314



More information about the jboss-user mailing list