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 74ace88 this was left from last fix to blog example 10
74ace88 is described below
commit 74ace88685c8861b25d06a32696b0da5c2b08773
Author: Carlos Rovira <[email protected]>
AuthorDate: Fri Aug 10 11:57:34 2018 +0200
this was left from last fix to blog example 10
---
.../src/main/royale/BE0010_Customization_through_the_Royale_API.mxml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/royale/BE0010_Customization_through_the_Royale_API.mxml
b/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/royale/BE0010_Customization_through_the_Royale_API.mxml
index 9f655c3..510e819 100644
---
a/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/royale/BE0010_Customization_through_the_Royale_API.mxml
+++
b/examples/blog/BE0010_Customization_through_the_Royale_API/src/main/royale/BE0010_Customization_through_the_Royale_API.mxml
@@ -55,7 +55,7 @@
private function expandButtons(event:Event = null):void {
var alertView:AlertView = alert.getBeadByType(IBeadView) as
AlertView;
-
+
if(event == null)
{
var verticalLayout:VerticalLayout = new VerticalLayout();
@@ -66,7 +66,7 @@
}
var layout:HorizontalLayout =
alertView.controlBar.getBeadByType(IBeadLayout) as HorizontalLayout;
- layout.itemsExpand = check.selected;
+ layout.itemsExpand = check.selected;
}
// Event handler function for displaying the selected Alert button.