Skip to content

Commit

Permalink
Initialize newly added Textareas with default values
Browse files Browse the repository at this point in the history
Actually default values for textareas are blanks.

Fix #12624

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
  • Loading branch information
devenbansod committed Oct 9, 2016
1 parent 0b355b7 commit afa6e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tbl_change.js
Expand Up @@ -551,7 +551,7 @@ AJAX.registerOnload('tbl_change.js', function () {
}

// handle input text fields and textareas
if ($this_element.is('.textfield') || $this_element.is('.char')) {
if ($this_element.is('.textfield') || $this_element.is('.char') || $this_element.is('textarea')) {
// do not remove the 'value' attribute for ENUM columns
// special handling for radio fields after updating ids to unique - see below
if ($this_element.closest('tr').find('span.column_type').html() != 'enum') {
Expand Down

0 comments on commit afa6e3b

Please sign in to comment.