[
https://jira.jboss.org/jira/browse/JBPORTAL-2047?page=com.atlassian.jira....
]
Thomas Heute commented on JBPORTAL-2047:
----------------------------------------
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");
Portlet window DnD breaks with Scriptaculous >= 1.8.0
-----------------------------------------------------
Key: JBPORTAL-2047
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2047
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.6.5 Final, 2.6.5 SP1
Reporter: Wesley Hales
Assignee: Wesley Hales
Fix For: 2.7.1 Final
The portlet windows will drag but will not drop, and the only error I see is:
Error: no element found
Source File:
http://localhost:8080/portal//ajax
Line: 1
There are a ton of issues in the Scriptaculous CHANGELOG from 1.7.1-beta3 through 1.8.0
concerning draggables, ondrop, etc... We should look at dyna.js and see if it needs work
first or atleast trace to see where the problem is happening.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira