incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1398932 - /incubator/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
Date Tue, 16 Oct 2012 19:14:22 GMT
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);
         



Mime
View raw message