[TIMOB-15376] optionDialog titleid doesn't work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.1.3 |
Fix Version/s | n/a |
Components | n/a |
Labels | optionaDialog, titleid |
Reporter | Mostafizur Rahman |
Assignee | Unknown |
Created | 2013-09-30T02:04:07.000+0000 |
Updated | 2018-02-28T20:03:37.000+0000 |
Description
optionDialog titleid doesn't work.
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,
titleid: "deleteFile"
//title: 'Delete File?'
};
win.addEventListener('click', function(e){
var dialog = Ti.UI.createOptionDialog(opts).show();
});
win.open();
No comments