Opened 11 years ago

Closed 11 years ago

#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


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.config.autofocus == true))

If config.autofocus = false and editor._textArea does not have an id, this condition will pass!

Change History (1)

comment:1 Changed 11 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in changeset:1209

Note: See TracTickets for help on using tickets.