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 c413972  jewel-wizard: remove very old code in TDJ to update page title
c413972 is described below

commit c413972fb128a6b6d39139c50a10caa9d7d11d97
Author: Carlos Rovira <[email protected]>
AuthorDate: Wed Apr 10 14:02:39 2019 +0200

    jewel-wizard: remove very old code in TDJ to update page title
---
 examples/royale/TourDeJewel/src/main/royale/WizardPlayGround.mxml | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/examples/royale/TourDeJewel/src/main/royale/WizardPlayGround.mxml 
b/examples/royale/TourDeJewel/src/main/royale/WizardPlayGround.mxml
index 7454c5c..bec3cea 100644
--- a/examples/royale/TourDeJewel/src/main/royale/WizardPlayGround.mxml
+++ b/examples/royale/TourDeJewel/src/main/royale/WizardPlayGround.mxml
@@ -25,14 +25,8 @@ limitations under the License.
        
        <fx:Script>
                <![CDATA[
-                       import org.apache.royale.events.Event;
                        import org.apache.royale.jewel.Button;
                        import org.apache.royale.jewel.events.WizardEvent;
-
-                       public function getStepLabel(step:WizardStep):String
-                       {
-                               return step.stepLabel;
-                       }
                        
                        public function goToPage(num:int):void
                        {
@@ -59,7 +53,7 @@ limitations under the License.
        </j:beads>
 
        <j:Card width="600">
-               <j:Wizard id="wizard" width="100%" height="500" 
title="{getStepLabel(wizard.currentStep)}" activateEffect="true">
+               <j:Wizard id="wizard" width="100%" height="500">
                        <j:previousButton>
                                <j:Group>
                                        <j:IconButton 
emphasis="{Button.SECONDARY}">

Reply via email to