This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new f79ce1f Should be index and not object
new 5d51355 Merge pull request #1105 from tzivz/develop
f79ce1f is described below
commit f79ce1fe6b6d7a0a1ed77c80fbf2d11f6ce4622c
Author: Tzivi <[email protected]>
AuthorDate: Sun Apr 25 15:09:58 2021 +0300
Should be index and not object
---
.../royale/html/beads/models/MultiSelectionCollectionViewModel.as | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/MultiSelectionCollectionViewModel.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/MultiSelectionCollectionViewModel.as
index eba9eaf..926695c 100644
---
a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/MultiSelectionCollectionViewModel.as
+++
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/models/MultiSelectionCollectionViewModel.as
@@ -85,11 +85,11 @@ package org.apache.royale.html.beads.models
{
if (_selectedIndices[i] < length)
{
-
indices.push(value.getItemAt(_selectedIndices[i]));
+
indices.push(_selectedIndices[i]);
}
- _selectedIndices = indices;
- syncItemsAndIndices();
}
+ _selectedIndices = indices;
+ syncItemsAndIndices();
}
dispatchEvent(new Event("dataProviderChanged"));
}