Grid edit: fix bug - wrong update on isCellEditActive value

This commit is contained in:
Aris Feryanto 2011-07-29 18:11:33 +08:00
parent 5cf1288f91
commit 4f5d6a59aa

View File

@ -491,7 +491,6 @@
$(g.cEdit).find('input')
.val(value);
g.isCellEditActive = false;
g.currentEditCell = cell;
$(g.cEdit).find('input[type=text]').focus();
$(g.cEdit).find('*').removeAttr('disabled');
@ -513,7 +512,6 @@
hideEditCell: function(force, data, field) {
if (g.isCellEditActive && !force) {
// cell is being edited, post the edited data
g.isCellEditActive = false;
g.saveOrPostEditedCell();
return;
}