Grid edit: fix bug - wrong update on isCellEditActive value
This commit is contained in:
parent
5cf1288f91
commit
4f5d6a59aa
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user