From a6850dd0892b7144e70af6b847066de7ca085465 Mon Sep 17 00:00:00 2001 From: Aris Feryanto Date: Thu, 28 Jul 2011 10:18:45 +0800 Subject: [PATCH] Grid edit: fix bug - is not defined when cfg['SaveCellsAtOnce'] is false --- js/makegrid.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/makegrid.js b/js/makegrid.js index 6fd1301ae8..0d504adc00 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -967,7 +967,6 @@ type: 'POST', url: 'tbl_replace.php', data: post_params, - context: $this_field[0], success: function(data) { $editArea.removeClass('edit_area_posting'); @@ -985,7 +984,7 @@ // display feedback $('#sqlqueryresults').prepend(data.sql_query); } - g.hideEditCell(true, data, this); + g.hideEditCell(true, data); // remove the "Save edited cells" button $('.save_edited').hide();