You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/01/03 03:23:28 UTC
[royale-asjs] branch develop updated: fix NPE in SearchFilter
This is an automated email from the ASF dual-hosted git repository.
carlosrovira 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 379ae3d fix NPE in SearchFilter
379ae3d is described below
commit 379ae3d274c39d94aa155616922ae7c3b5b41f6f
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Thu Jan 3 04:23:21 2019 +0100
fix NPE in SearchFilter
---
.../org/apache/royale/jewel/beads/controls/combobox/SearchFilter.as | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/SearchFilter.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/SearchFilter.as
index f683b54..6109cd4 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/SearchFilter.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/controls/combobox/SearchFilter.as
@@ -48,7 +48,7 @@ package org.apache.royale.jewel.beads.controls.combobox
override protected function keyUpLogic(input:Object):void
{
- var popUpVisible:Boolean = input.parent.view.popUpVisible;
+ var popUpVisible:Boolean = input.parent.view.popUpVisible;
if (!popUpVisible) {
//force popup ?:
input.parent.view.popUpVisible = true;
@@ -84,6 +84,9 @@ package org.apache.royale.jewel.beads.controls.combobox
//return;
}
+ // fill "list" with the internal list in the combobox popup
+ list = event.target.royale_wrapper.parent.view.popup.view.list;
+
applyFilter(IComboBoxView(_strand['view']).textinput.text.toUpperCase());
}
}