Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19219] Windows: AlertDialog is not shown more than twice

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-07-15T16:52:36.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeKota Iguchi
Created2015-07-15T02:10:05.000+0000
Updated2017-03-16T21:08:17.000+0000

Description

Windows: AlertDialog is not shown more than twice. How to reproduce: 1. Show dialog once by clicking "Push" button 2. Close the dialog 3. Show dialog once by clicking " "Push" button again 4. AlertDialog should be shown again, but nothing happens
var win = Ti.UI.createWindow();
var btn = Ti.UI.createButton({title:'Push'});

btn.addEventListener('click', function (e) {
    var dialog = Ti.UI.createAlertDialog({
        message: 'Okay',
        title: 'Alert Dialog Test'
    });
    dialog.show();
});

win.add(btn);
win.open();

Comments

  1. Kota Iguchi 2015-07-15

    https://github.com/appcelerator/titanium_mobile_windows/pull/374
  2. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source