[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2405) dyna.js attaches observer to all draggable objects

Steven Crosley (JIRA) jira-events at lists.jboss.org
Mon Jun 1 14:43:56 EDT 2009


dyna.js attaches observer to all draggable objects
--------------------------------------------------

                 Key: JBPORTAL-2405
                 URL: https://jira.jboss.org/jira/browse/JBPORTAL-2405
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Web
    Affects Versions: 2.7.1 Final
         Environment: OS X, Safari 3.2.1, JBoss Portal 2.7.1
            Reporter: Steven Crosley


When using Scriptaculous' Sortables functionality within a portlet, I am getting an alert message "Error 500 -- OK".

I believe the issue is that in dyna.js an observer is placed on ALL draggable objects:

Draggables.addObserver(new WindowMoveObserver());

This attempts to update the database with the portlet's region even if the DnD exists inside of a portlet.


-- 
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

        



More information about the jboss-jira mailing list