Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15897

Mobile Web: Getting "Undefined" on clicking label in classic mobile web default single window application

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.0
    • Component/s: MobileWeb
    • Environment:

      Description

      Getting "Undefined" message on alert while clicking on label in default classic single window application.

      Steps to reproduce:

      1. Create Classic Default single window application.
      2. On app launch click on "Welcome to Titanium" label

      Actual Result:

      1. Alert appears with message "undefined"

      Expected Result:

      1. 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);
      

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              pagarwal Priya Agarwal
              Reviewer:
              Allen Yeung
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-17977
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code