flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: [flex-sdk] [refs/heads/develop] - FLEX-34052 added guard for RTE
Date Tue, 21 Jan 2014 03:00:36 GMT
Updated Branches:
  refs/heads/develop 91b904643 -> af2a4bbfc


FLEX-34052 added guard for RTE


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/af2a4bbf
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/af2a4bbf
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/af2a4bbf

Branch: refs/heads/develop
Commit: af2a4bbfca29aef4453a2dd7faf38b6112694658
Parents: 91b9046
Author: Justin Mclean <jmclean@apache.org>
Authored: Tue Jan 21 14:00:23 2014 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Tue Jan 21 14:00:23 2014 +1100

----------------------------------------------------------------------
 .../advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as        | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/af2a4bbf/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as b/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
index 110b8d4..f911c5f 100644
--- a/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
+++ b/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
@@ -7607,6 +7607,8 @@ public class AdvancedDataGridBaseEx extends AdvancedDataGridBase implements
IIME
         var target:DisplayObject = DisplayObject(event.target);
         var index:int = target.parent.getChildIndex(target);
         var optimumColumns:Array = getOptimumColumns();
+		if (index < 0 || index >= optimumColumns.length)
+			return;
         if (!optimumColumns[index].resizable)
             return;
 


Mime
View raw message