You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2016/03/30 03:43:36 UTC

git commit: [flex-sdk] [refs/heads/develop] - FLEX-35028 stop RTE when clicking on DG header

Repository: flex-sdk
Updated Branches:
  refs/heads/develop 958b09619 -> 45849ae4a


FLEX-35028 stop RTE when clicking on DG header


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

Branch: refs/heads/develop
Commit: 45849ae4a27178a9467f073295635bdc60fb18ac
Parents: 958b096
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Mar 30 12:43:15 2016 +1100
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Mar 30 12:43:15 2016 +1100

----------------------------------------------------------------------
 .../spark/src/spark/components/GridColumnHeaderGroup.as        | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/45849ae4/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as b/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
index bd62162..9d5b81d 100644
--- a/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
+++ b/frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
@@ -1109,7 +1109,9 @@ public class GridColumnHeaderGroup extends Group implements IDataGridElement
         }
         
         const columnIndex:int = (pressSeparatorIndex != -1) ? pressSeparatorIndex : eventColumnIndex;
-        dispatchGridEvent(event, gridEventType, eventHeaderXY, columnIndex);
+	if (columnIndex != -1) {
+        	dispatchGridEvent(event, gridEventType, eventHeaderXY, columnIndex);
+	}
     }
     
     /**
@@ -1327,4 +1329,4 @@ public class GridColumnHeaderGroup extends Group implements IDataGridElement
 	}
 	
 }    
-}
\ No newline at end of file
+}