[jboss-user] [JBoss Portal] - Re: JBPORTAL-1978 : scriptaculous & prototype js
cpage
do-not-reply at jboss.com
Tue Nov 25 08:49:02 EST 2008
I use prototype 1.6.0.2 and scriptaculous 1.8.1 with Portal 2.6.6 and DnD is ok for me in IE7, FF2 and FF3. I have made changes only in dyna.js.
I have changed lot of things in Portal java code so i don't know if these changes in js will be ok for everyone.
The 5 lines in dyna.js :
replace line 27 :
var regions_on_page = document.getElementsByClassName("dnd-region");
by :
var regions_on_page = $$(".dnd-region");
replace line 221 :
var srcs = Element.getElementsByClassName(srcContainer, className);
by :
var srcs = srcContainer.select("." + className);
replace line 227 :
var dsts = Element.getElementsByClassName(dstContainer, className)
by :
var dsts = dstContainer.select("." + className);
replace line 306 :
var regions_on_page = document.getElementsByClassName("dnd-region");
by :
var regions_on_page = $$(".dnd-region");
replace line 321 :
var portlets_on_page = document.getElementsByClassName("partial-refresh-window");
by :
var portlets_on_page = $$(".partial-refresh-window");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192118#4192118
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192118
More information about the jboss-user
mailing list