You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2020/05/29 12:00:32 UTC

[royale-asjs] branch develop updated: jewel-CollapsibleNavigationSectionRenderer: Remove checking whether item is open to allow retrieve selected child item for any case

This is an automated email from the ASF dual-hosted git repository.

piotrz 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 73e9187  jewel-CollapsibleNavigationSectionRenderer: Remove checking whether item is open to allow retrieve selected child item for any case
73e9187 is described below

commit 73e918795d2cf2cb3808278c4a9489dffe5b4a97
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Fri May 29 14:00:17 2020 +0200

    jewel-CollapsibleNavigationSectionRenderer: Remove checking whether item is open to allow retrieve selected child item for any case
---
 .../royale/jewel/itemRenderers/CollapsibleNavigationSectionRenderer.as  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/CollapsibleNavigationSectionRenderer.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/CollapsibleNavigationSectionRenderer.as
index 7032c06..e84936d 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/CollapsibleNavigationSectionRenderer.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/itemRenderers/CollapsibleNavigationSectionRenderer.as
@@ -96,7 +96,7 @@ package org.apache.royale.jewel.itemRenderers
 		}
 		
 		public function getSelectedSubmenuItem():Object {
-			if (childNavigation && open) return childNavigation.selectedItem;
+			if (childNavigation) return childNavigation.selectedItem;
 			return null;
 		}