diff options
author | Jack Smith <devjacksmith@gmail.com> | 2015-07-13 04:59:24 +0300 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2015-07-13 13:52:07 +0300 |
commit | e88f290d44c5842b1cbd3d9919ed179973779eaf (patch) | |
tree | 5ed361a1abb89ffb9adcd4e5d537206781faca0f | |
parent | 6edbf61c22364663690d610596d46f52d442099a (diff) |
Remove confusing second inline edit window (bug #4826)
When a long truncated text field is being inline edited it pops up a second edit window which could be confusing. Removed it.
Signed-off-by: Jack Smith <devjacksmith@gmail.com>
-rw-r--r-- | js/makegrid.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/js/makegrid.js b/js/makegrid.js index 4ed8fa742e..c1046a41d1 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -979,21 +979,10 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi if (typeof data !== 'undefined' && data.success === true) { $td.data('original_data', data.value); $(g.cEdit).find('.edit_box').val(data.value); - $editArea.append('<textarea></textarea>'); - $editArea.find('textarea').val(data.value); - $editArea - .on('keyup', 'textarea', function (e) { - $(g.cEdit).find('.edit_box').val($(this).val()); - }); - $(g.cEdit).on('keyup', '.edit_box', function (e) { - $editArea.find('textarea').val($(this).val()); - }); - $editArea.append('<div class="cell_edit_hint">' + g.cellEditHint + '</div>'); } else { PMA_ajaxShowMessage(data.error, false); } }); // end $.post() - $editArea.show(); } g.isEditCellTextEditable = true; } else if ($td.is('.timefield, .datefield, .datetimefield, .timestampfield')) { |