Opened 7 years ago

Closed 6 years ago

#16565 closed defect (fixed)

demos/mobileGallery: harmless exception when double-touching or double-clicking the "Back" button

Reported by: Adrian Vasiliu Owned by: Eric Durocher
Priority: undecided Milestone: 1.9
Component: DojoX Mobile Version: 1.8.3
Keywords: Cc:
Blocked By: Blocking:

Description

  1. Launch demos/mobileGallery/demo.html in any browser (including desktop).
  2. If testing on desktop, reduce the width of the window such that it only shows the list of demo views (thus, making appear a "Back" button in the heading of each demo view).
  3. Select any demo view (say, "Buttons").
  4. *Double*-click or *double*-touch the "Back" button

=> The JavaScript console shows an error such as (depending on browser):

Uncaught TypeError: Cannot read property 'to' of undefined

or

TypeError: Result of expression 'navRecord' [undefined] is not an object

This is a minor bug in mobileGallery's code (apparently harmless).

Attachments (1)

patch16565.patch (762 bytes) - added by Adrian Vasiliu 7 years ago.
Avoid exception when double-clicking/touching Back button - Adrian Vasiliu (IBM, CCLA)

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Adrian Vasiliu

Attachment: patch16565.patch added

Avoid exception when double-clicking/touching Back button - Adrian Vasiliu (IBM, CCLA)

comment:1 Changed 6 years ago by cjolif

Milestone: tbd1.9

comment:2 Changed 6 years ago by cjolif

Resolution: fixed
Status: newclosed

In [30430]:

fixes #16565. Avoid exception when double-clicking/touching Back button. Thanks Adrian Vasiliu (IBM, CCLA). !strict.

Note: See TracTickets for help on using tickets.