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 2013/08/28 06:55:26 UTC

git commit: [flex-sdk] [refs/heads/develop] - Fixed RTE when editable is set to null

Updated Branches:
  refs/heads/develop 5aabd878b -> 6b247c78e


Fixed RTE when editable is set to null


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

Branch: refs/heads/develop
Commit: 6b247c78e225866b56f5bc2632751b1b437f110b
Parents: 5aabd87
Author: Justin Mclean <jm...@apache.org>
Authored: Wed Aug 28 14:54:38 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Wed Aug 28 14:54:38 2013 +1000

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


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/6b247c78/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 8cfb838..3118611 100644
--- a/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
+++ b/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
@@ -7417,7 +7417,7 @@ public class AdvancedDataGridBaseEx extends AdvancedDataGridBase implements IIME
 
         super.focusInHandler(event);
 
-        if (editable.length && !isPressed) // don't do this if we're mouse focused
+        if (editable && editable.length && !isPressed) // don't do this if we're mouse focused
         {
             _editedItemPosition = lastEditedItemPosition;