Changeset 4184


Ignore:
Timestamp:
09/04/2009 10:31:39 AM (6 years ago)
Author:
tobiasz.cudnik
Message:

Fixed #3568 - Dialogs don't select all text when tabbing to text inputs.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r4180 r4184  
    6262                <li><a href="http://dev.fckeditor.net/ticket/3897">#3897</a> : Now there is no image previews when the URL is empty in image dialog.</li>
    6363                <li><a href="http://dev.fckeditor.net/ticket/4048">#4048</a> : Context submenu was lacking uiColor.</li>
     64                <li><a href="http://dev.fckeditor.net/ticket/3568">#3568</a> : Dialogs now select all text when tabbing to text inputs.</li>
    6465        </ul>
    6566        <h3>
  • CKEditor/trunk/_source/plugins/dialog/plugin.js

    r4165 r4184  
    273273                        }
    274274                        focusList[ currentIndex ].focus();
     275
     276                        // Select whole field content.
     277                        if ( focusList[ currentIndex ].type == 'text' )
     278                                focusList[ currentIndex ].select();
    275279                }
    276280
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy