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/10/16 21:14:22 UTC

svn commit: r1398932 - /incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as

Author: cframpton
Date: Tue Oct 16 19:14:21 2012
New Revision: 1398932

URL: http://svn.apache.org/viewvc?rev=1398932&view=rev
Log:
FLEX-33219. Fix incorrect use of constants although constants really aren't constants and the code did work as expected.

Modified:
    incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as

Modified: incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
URL: http://svn.apache.org/viewvc/incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as?rev=1398932&r1=1398931&r2=1398932&view=diff
==============================================================================
--- incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as (original)
+++ incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as Tue Oct 16 19:14:21 2012
@@ -1376,7 +1376,7 @@ public class GridSelection
     private function dataProviderCollectionMove(event:CollectionEvent):void
     {
         const oldRowIndex:int = event.oldLocation;
-        const newRowIndex:int = event.location;
+        var newRowIndex:int = event.location;
         
         handleRowRemove(oldRowIndex);
         
@@ -1636,7 +1636,7 @@ public class GridSelection
             return;
 
         const oldColumnIndex:int = event.oldLocation;
-        const newColumnIndex:int = event.location;
+        var newColumnIndex:int = event.location;
         
         handleColumnRemove(oldColumnIndex);