reverting FLEX-34101 as this cause several spark list test to fails and one to 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/27236b65 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/27236b65 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/27236b65 Branch: refs/heads/master Commit: 27236b658e1920a462dc64554e73039bb10f4159 Parents: 203a3ed Author: Justin Mclean <[email protected]> Authored: Wed Feb 26 08:20:56 2014 +1100 Committer: Justin Mclean <[email protected]> Committed: Wed Feb 26 08:20:56 2014 +1100 ---------------------------------------------------------------------- .../projects/framework/src/mx/collections/ListCollectionView.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/27236b65/frameworks/projects/framework/src/mx/collections/ListCollectionView.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/framework/src/mx/collections/ListCollectionView.as b/frameworks/projects/framework/src/mx/collections/ListCollectionView.as index 3610d28..3ef2f1a 100644 --- a/frameworks/projects/framework/src/mx/collections/ListCollectionView.as +++ b/frameworks/projects/framework/src/mx/collections/ListCollectionView.as @@ -1208,7 +1208,7 @@ public class ListCollectionView extends Proxy throw new CollectionViewError(message); } - if (localIndex && addedItems.length > 0) + if (localIndex && addedItems.length > 1) { addLocation = -1; }
