[TIMOB-14665] BlackBerry: OptionDialog is not shown
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | High | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2013-07-29T20:32:02.000+0000 | 
| Affected Version/s | Release 3.1.2 | 
| Fix Version/s | 2013 Sprint 15 API, 2013 Sprint 15, Release 3.1.2, Release 3.2.0 | 
| Components | BlackBerry | 
| Labels | qe-testadded | 
| Reporter | Federico Casali | 
| Assignee | Pedro Enrique | 
| Created | 2013-07-26T04:12:06.000+0000 | 
| Updated | 2014-06-19T12:42:58.000+0000 | 
Option dialog works as expected. Add a button and a click event to the button, then call the dialog. There seems to be a bug with the click event not firing in the window
Ti.UI.setBackgroundColor('white'); var win = Ti.UI.createWindow({ title: 'Click window to test', backgroundColor: 'white', exitOnClose: true, fullscreen: false }); var opts = { cancel: 2, options: ['Confirm', 'Help', 'Cancel'], selectedIndex: 2, destructive: 0, title: 'Delete File?' }; var btn = Ti.UI.createButton(); win.add(btn); btn.addEventListener('click', function(e){ var dialog = Ti.UI.createOptionDialog(opts).show(); }); win.open();Option Dialog is not being displayed with current latest 3.1.X (3.1.2.v20130725110651). It is displayed correctly with 3.2 master build. This should be fixed with the next 3.1.X build - will update the ticket accordingly.
OptionDialog is correctly displayed. Titanium SDK 3.1.2.v20130808180613 Alloy 1.2.0-alpha6 Appcelerator Studio 3.1.2.201308071912 CLI 3.1.2-alpha Node 0.10.13 Closing.