Skip to content

Commit

Permalink
Fix calling restorerow in editrow with the right parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytomov committed Feb 6, 2012
1 parent 905adbc commit 3ea69a0
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 @@ -94,7 +94,7 @@ $.jgrid.extend({
if(o.keys===true) {
$(ind).bind("keydown",function(e) {
if (e.keyCode === 27) {
$($t).jqGrid("restoreRow",rowid, afterrestorefunc);
$($t).jqGrid("restoreRow",rowid, o.afterrestorefunc);
if($t.p._inlinenav) {
try {
$($t).jqGrid('showAddEditButtons');
Expand Down

0 comments on commit 3ea69a0

Please sign in to comment.