Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

error in standardAskAsync code snipet #436

Open
astanley opened this issue Jan 12, 2013 · 1 comment
Open

error in standardAskAsync code snipet #436

astanley opened this issue Jan 12, 2013 · 1 comment

Comments

@astanley
Copy link

https://developer.blackberry.com/html5/apis/blackberry.ui.dialog.html#.standardAskAsync

The callback method should be

function dialogCallBack(selection){
alert(selection);
}

not the following (which results in undefined):

function dialogCallBack(selection){
alert(selection.return);
}

@Gerii
Copy link

Gerii commented Jan 12, 2013

selection.return does work for me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants