Ticket #1467 (closed defect: fixed)
auto-focus can occur when config.autofocus = false
| Reported by: | guest | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.96 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | normal | Keywords: | autofocus |
| Cc: |
Description
Lines 3332-3333 of XinhaCore?.js (0.96beta2) specify the following condition for auto-focus to occur:
if ((typeof editor.config.autofocus != "undefined") &&
((editor.config.autofocus == editor._textArea.id) || editor.config.autofocus == true))
If config.autofocus = false and editor._textArea does not have an id, this condition will pass!
Change History
Note: See
TracTickets for help on using
tickets.
