Changeset 1130 for trunk


Ignore:
Timestamp:
11/24/08 16:24:31 (10 years ago)
Author:
nicholasbs
Message:

Fixes #1339 (setting autofocus to non-empty string focuses editor regardless of if the string matches the ID)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r1126 r1130  
    32083208  // since everything needed to do so is now fully loaded. 
    32093209  if ((typeof editor.config.autofocus != "undefined") && 
    3210       ((editor.config.autofocus == editor._textArea.id) || editor.config.autofocus)) 
     3210      ((editor.config.autofocus == editor._textArea.id) || editor.config.autofocus == true)) 
    32113211  { 
    32123212    editor.activateEditor(); 
Note: See TracChangeset for help on using the changeset viewer.