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

andreww pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new b3f8cdc  Update jewel-alert.md
b3f8cdc is described below

commit b3f8cdcf98f5c1cd7e080934cc046ed3b4e7e50e
Author: Andrew Wetmore <[email protected]>
AuthorDate: Wed Aug 21 13:41:20 2019 -0300

    Update jewel-alert.md
    
    added "| Alert.NO"
---
 component-sets/jewel/jewel-alert.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/component-sets/jewel/jewel-alert.md 
b/component-sets/jewel/jewel-alert.md
index a4971ed..9b0e3e5 100644
--- a/component-sets/jewel/jewel-alert.md
+++ b/component-sets/jewel/jewel-alert.md
@@ -81,11 +81,11 @@ To close the window, click one of the buttons on the bottom 
`ControlBar`, or pro
 The `Alert` component uses the `CloseEvent.CLOSE` event when the user removes 
it from the application. You can attach callback listeners to the 
`CloseEvent.CLOSE` as follows:
 
 ```AS3
-var alert:Alert = Alert.show("Do you want to save your changes?", "Save 
Changes", Alert.OK);
+var alert:Alert = Alert.show("Do you want to save your changes?", "Save 
Changes", Alert.OK | Alert.NO);
 alert.addEventListener(CloseEvent.CLOSE, alertClickHandler);
 ```
 
-Then check  `event.detail` to know what button was clicked inside the dialog.
+Then check `event.detail` to know what button was clicked inside the dialog.
 
 ```as3
 // Event handler callback function for CloseEvent event 

Reply via email to