-
Notifications
You must be signed in to change notification settings - Fork 438
BB10-WebWorks-Samples / Toast dont execute a dissmissCallback #158
Comments
Do you are using the bbUI.js/bbUI.css version 0.9.6? If not, try to update https://www.dropbox.com/s/kvbef82rv4b5ak8/bbui.zip |
You need to call with button on it for first time to ensure to work (bug??) |
Is that still happening on the latest OS or developer preview OS? The original issue suggests that it should be fixed by now. |
@gcsantiago yes, have a button in the function, but dont execute anyway. look ( https://github.com/blackberry/BB10-WebWorks-Samples/blob/master/Toast/js/app.js#L50 ) |
Is this issue specifically with the sample, or with the API? |
@ctetreault is the author, so perhaps he can take a look. We are updating some of these samples shortly anyway. |
Pretty sure it's just the sample Jeff. I use toasts with callbacks in the upcoming BFB Boilerplate without a problem. We're updating the old samples shortly to correct a few issues, I'll make sure this one is on the list. |
Every time my app shows a toast (with no dismisscallback), i get an error in console: |
On disappear toast, dont call te dissmissCallback function
https://github.com/blackberry/BB10-WebWorks-Samples/blob/master/Toast/js/app.js#L50
The text was updated successfully, but these errors were encountered: