You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/11/16 16:27:39 UTC

svn commit: r1410394 - /incubator/flex/sdk/branches/develop/frameworks/projects/mx/src/mx/controls/DataGrid.as

Author: cframpton
Date: Fri Nov 16 15:27:38 2012
New Revision: 1410394

URL: http://svn.apache.org/viewvc?rev=1410394&view=rev
Log:
FLEX-33263.  FocusOut in datagrid causes RTE if target.parent is null.  Commit patch submitted by João Fernandes.

Modified:
    incubator/flex/sdk/branches/develop/frameworks/projects/mx/src/mx/controls/DataGrid.as

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/mx/src/mx/controls/DataGrid.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/mx/src/mx/controls/DataGrid.as?rev=1410394&r1=1410393&r2=1410394&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/mx/src/mx/controls/DataGrid.as (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/mx/src/mx/controls/DataGrid.as Fri Nov 16 15:27:38 2012
@@ -5014,7 +5014,7 @@ public class DataGrid extends DataGridBa
             var target:DisplayObject = DisplayObject(event.relatedObject);
             while (target && target != this)
             {
-                if (target is IListItemRenderer && target.parent.parent == this && target.parent is ListBaseContentHolder)
+                if (target is IListItemRenderer && target.parent is ListBaseContentHolder && target.parent.parent == this)
                 {
                     if (target.visible)
                     {