[TIMOB-15897] Mobile Web: Getting "Undefined" on clicking label in classic mobile web default single window application
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-12-06T22:59:59.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 25, 2013 Sprint 25 Core, Release 3.2.0, Release 3.3.0 |
Components | MobileWeb |
Labels | dev-investigate, qe-3.2.0, qe-testadded |
Reporter | Priya Agarwal |
Assignee | Chris Barber |
Created | 2013-12-05T06:03:39.000+0000 |
Updated | 2014-02-24T22:54:33.000+0000 |
Description
Getting "Undefined" message on alert while clicking on label in default classic single window application.
Steps to reproduce:
Create Classic Default single window application.
On app launch click on "Welcome to Titanium" label
Actual Result:Alert appears with message "undefined"
Expected Result:Alert must appear with message "Welcome to Titanium"
Working fine on iOS and Android devices. Getting undefined on label click because on click code is:
alert(e.source.text);
whereas it should be
alert(this.text);
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5085 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5086
Verified with test environment: Appcelerator Studio: 3.2.0.201312081316 SDK:3.2.0.v20131208204843 alloy: 1.3.0-beta acs: 1.0.10 npm: 1.3.2 titanium: 3.2.0-beta titanium-code-processor: 1.1.0-beta Xcode:5.0.2 OS: Mac OSX 10.9 Browser: Firefox(25.0.1) Getting correct alerts. Checked with default alloy and classic single window application. Hence closing as working fine.