[
http://jira.jboss.com/jira/browse/RF-993?page=all ]
Sergey Halipov reopened RF-993:
-------------------------------
Assignee: Sergey Halipov (was: Alexander Francuzov)
Needed optimization for Netscape.
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: Sergey Halipov
Fix For: 3.2.0, 3.1.1
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