Skip to content

Commit

Permalink
Fix restoring row removing a not needed condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytomov committed Jan 13, 2012
1 parent bd5ac35 commit ddc719d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/grid.inlinedit.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ $.jgrid.extend({
} catch (e) {}
}
$.each($t.p.colModel, function(i,n){
if(this.editable === true && this.name in $t.p.savedRow[fr] && !$(this).hasClass('not-editable-cell')) {
if(this.editable === true && this.name in $t.p.savedRow[fr] ) {
ares[this.name] = $t.p.savedRow[fr][this.name];
}
});
Expand Down

0 comments on commit ddc719d

Please sign in to comment.