#5355 closed Bug (invalid)
Opening a dialog causes silent exception
Reported by: | Antti Leppä | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | UI : Dialogs | Version: | 3.2 |
Keywords: | HasPatch | Cc: |
Description (last modified by )
Opening a dialog (Image dialog for example) causes exception 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 (3)
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Keywords: | HasPatch added |
Milestone: | → CKEditor 3.4 |
Priority: | Low → Normal |
Summary: | Opening a dialog causes crash → Opening a dialog causes silent exception |
comment:2 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:3 Changed 14 years ago by
Milestone: | CKEditor 3.4 |
---|
It's an by purpose try...catch used here instead of a bug.