You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2018/05/16 07:05:37 UTC

[royale-asjs] 02/02: remove from controller logic which is handled by view

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

yishayw pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 1f3294450d6fa608092ca727020defd2f76b1f79
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Wed May 16 10:05:27 2018 +0300

    remove from controller logic which is handled by view
---
 .../org/apache/royale/html/beads/controllers/ComboBoxController.as    | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/controllers/ComboBoxController.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/controllers/ComboBoxController.as
index 9f173f9..64a6ac2 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/controllers/ComboBoxController.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/controllers/ComboBoxController.as
@@ -69,10 +69,6 @@ package org.apache.royale.html.beads.controllers
 		
 		private function handleListChange(event:Event):void
 		{
-			var list:List = viewBead.popUp as List;
-			var input:TextInput = viewBead.textInputField as TextInput;
-			input.text = list.selectedItem as String;
-			
 			viewBead.popUpVisible = false;
 			
 			IEventDispatcher(_strand).dispatchEvent(new Event("change"));

-- 
To stop receiving notification emails like this one, please contact
yishayw@apache.org.