[ 
https://jira.jboss.org/jira/browse/RF-4213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12426590#action_12426590
 ] 

Nick Belaevski commented on RF-4213:
------------------------------------

Denis,

What do you think about the patch:

Index: src/main/resources/org/richfaces/renderkit/html/scripts/drag-indicator.js
===================================================================
--- src/main/resources/org/richfaces/renderkit/html/scripts/drag-indicator.js   
(revision 10184)
+++ src/main/resources/org/richfaces/renderkit/html/scripts/drag-indicator.js   
(working copy)
@@ -47,7 +47,7 @@
                        }
                        this.realParent.removeChild(this);
 
-                       if (this.iframe) {
+                       if (this.iframe && this.iframe.parentNode == 
this.realParent) {
                                this.realParent.removeChild(this.iframe);
                                document.body.appendChild(this.iframe);
                        }
@@ -142,7 +142,7 @@
        },
        initIFrame: function() {
                if (DragIndicator.isIE6 && !this.iframe) {
-                       new Insertion.Before(this,
+                       new Insertion.Bottom(document.body,
                                        "<iframe src=\"javascript:''\" 
frameborder=\"0\" scrolling=\"no\" id=\"" + this.id + "iframe\"" +
                                        "style=\"display: none;\" 
class=\"rich-dragindicator-iframe\">" + "</iframe>");
                        this.iframe = $(this.id + 'iframe');

?

> tree: there is incorrect behavior in the IE6 during D&D
> -------------------------------------------------------
>
>                 Key: RF-4213
>                 URL: https://jira.jboss.org/jira/browse/RF-4213
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: RF-3.2.2.BETA4
> JBoss Server 4.2.
> IE 6
>            Reporter: Tatyana Romanovich
>            Assignee: Nick Belaevski
>             Fix For: 3.2.2
>
>         Attachments: treeDnD.avi, TreeTest.rar
>
>
> see attached file

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to