[richfaces-issues] [JBoss JIRA] Created: (RF-993) drag-n-drop on the tree: Problem with Netscape 7.1

Sergey Smirnov (JIRA) jira-events at lists.jboss.org
Fri Sep 21 18:36:11 EDT 2007


drag-n-drop on the tree: Problem with Netscape 7.1
--------------------------------------------------

                 Key: RF-993
                 URL: http://jira.jboss.com/jira/browse/RF-993
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.1.0
            Reporter: Sergey Smirnov
         Assigned To: Maksim Kaszynski
             Fix For: 3.2.0


Quote: "
I solved the problem! The following lines in observeEvents of tree-item.js are meant to optimize the code in IE, but prevent Netscape 7 & 8 from working correctly:

observeEvents: function(element) {
var cells = element.rows[0].cells;
//seeking by id seems to be miserably slow in IE than by index
var eIcon = cells[this.elementID.icon];
var eText = cells[this.elementID.text];

Somehow the cells do NOT have an id, so you cant access them!!!

I replaced it with :

observeEvents: function(element) {
var eIcon = $(this.elementID.icon);
var eText = $(this.elementID.text); 
"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list