incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1410394 - /incubator/flex/sdk/branches/develop/frameworks/projects/mx/src/mx/controls/DataGrid.as
Date Fri, 16 Nov 2012 15:27:39 GMT
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)
                     {



Mime
View raw message