Skip to content

Commit

Permalink
Fix: Integration with Editor - when a textarea field is used, the tex…
Browse files Browse the repository at this point in the history
…t was not being replaced when activating inline editing
  • Loading branch information
Allan Jardine committed Nov 16, 2015
1 parent caf424f commit e9c4e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/dataTables.keyTable.js
Expand Up @@ -305,7 +305,7 @@ $.extend( KeyTable.prototype, {
editor.inline( this.s.lastFocus.index() );

// Excel style - select all text
var input = $('div.DTE input');
var input = $('div.DTE input, div.DTE textarea');
if ( input.length ) {
input[0].select();
}
Expand Down

0 comments on commit e9c4e4c

Please sign in to comment.