This fixes the issue the custom ask dialog will not close when the hardware back button is pressed.
Removed compressed js files.
Merge pull request #40 from blackberry-webworks/next-js-resources
Implemented the customAskAsync and standardAskAsync asynchronous APIs
Changes to function signatures.
Argument change to function signatures.
Fixed onHardwareKey trapping issue when dialog is up.
It might be not an event thread when calling getActiveScreen. Use invokeLater or acquire an even lock when accessing to ui from outside of event handling or drawing code.
See the PageManager.java for reference.
Added event thread lock.
In that case the app will freeze if called from UI Event Dispatch Thread, since there is no checking condition for that. (isEventThread).
Changed the way how it checks for event thread.
In the last note, the same condition block where _dialogUp is set appears in two places - can be refactored.
Merge pull request #41 from blackberry-webworks/next-async-dialogs-on…
Next async dialogs onhardwarekey
Merge pull request #42 from blackberry-webworks/next-async-dialogs
Next async dialogs
Fixed issue where back button does not close custom ask dialogs.
Made a mistake with the branch.
Code review complete.