Opened 14 years ago

Last modified 14 years ago

#5355 closed Bug

Opening a dialog causes crash — at Initial Version

Reported by: Antti Leppä Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: 3.2
Keywords: HasPatch Cc:

Description

Opening a dialog (Image dialog for example) causes crash which is silently consumed by try - catch block but javascript debuggers like firebug still break on the error.

this is caused by access to undefined index (-1) in "focusList" in plugins/dialog/plugin.js:286 and could be fixed by adding:

if (current > -1)

before the

focusList[ current ].getInputElement().$.blur();

line

The bug was discovered with Firefox 3.5.8 (Firebug 1.5.3) / Linux 64bit

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy