Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7170] MobileWeb: Complete Ti.UI.AlertDialog implementation

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-02-08T15:31:23.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2012-03, Release 2.0.0, Release 1.8.2
ComponentsMobileWeb
Labelsqe-port, stage, themeable
ReporterChris Barber
AssigneeBryan Hughes
Created2012-01-13T10:21:33.000+0000
Updated2012-08-27T17:40:54.000+0000

Description

Missing entire correct implementation. AlertDialog widgets allow an arbitrary number of buttons with their own labels. This means you could have a dialog with a "accept" and "reject" buttons. This is not possible in mobileweb using an alert() or confirm() dialog. Instead, we'll need a custom UI widget that mimics a modal dialog. By default, there's only an OK button. Extends Evented. Methods: * hide() * show() Properties: * buttonNames [stage] * cancel * message * messageid * ok * okid * title * titleid Events: * click Update API docs with the supported methods, properties, and constants.

Attachments

FileDateSize
app.js2012-02-06T12:28:36.000+00001667

Comments

  1. Bryan Hughes 2012-02-06

    Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1358
  2. Lokesh Choudhary 2012-08-27

    Verified fix on: Titanium studio : 2.1.1.201207271312 SDK version : 2.2.0.v20120824175712 Chrome 21.0.xx Firefox 14.0.1 Safari 6.0 Android 2.3.6 default browser Iphone 5.0.1 mobile safari

JSON Source