royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject [royale-asjs] branch develop updated: Fixes #57
Date Wed, 01 Nov 2017 09:28:59 GMT
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 51698f9  Fixes #57
51698f9 is described below

commit 51698f912ad16021809d7b0170bcc5b10da20e7a
Author: Harbs <harbs@in-tools.com>
AuthorDate: Wed Nov 1 11:28:54 2017 +0200

    Fixes #57
---
 .../src/main/royale/org/apache/royale/html/beads/DateChooserView.as  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DateChooserView.as
b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DateChooserView.as
index 17a5ef0..a3d2ab9 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DateChooserView.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DateChooserView.as
@@ -228,6 +228,8 @@ package org.apache.royale.html.beads
 			dayNamesContainer.dataProvider = model.dayNames;
 
 			daysContainer.dataProvider = model.days;
+
+			daysContainer.selectedIndex = model.getIndexForSelectedDate()
 		}
 
 		/**
@@ -237,9 +239,6 @@ package org.apache.royale.html.beads
 		{
 			updateDisplay();
 
-			var index:Number = model.getIndexForSelectedDate();
-			daysContainer.selectedIndex = index;
-
 			getHost().dispatchEvent(new Event("selectedDateChanged"));
 			getHost().dispatchEvent( new Event("change") );
 		}

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <commits@royale.apache.org>'].

Mime
View raw message