Skip to content

Commit

Permalink
Fix editData not getting included with post data when edit form submi…
Browse files Browse the repository at this point in the history
…tted
  • Loading branch information
tmck2 committed Jul 24, 2011
1 parent d1c63d2 commit ad8e68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/grid.formedit.js
Expand Up @@ -623,7 +623,7 @@ $.jgrid.extend({
if( postdata[idname] === undefined ) { postdata[idname] = postdata[$t.p.id+"_id"]; }
}
delete postdata[$t.p.id+"_id"];
postdata = $.extend(postdata,rp_ge.editData,onCS);
postdata = $.extend(postdata,rp_ge[$t.p.id].editData,onCS);
if($t.p.treeGrid === true) {
if(postdata[oper] == opers.addoper) {
selr = $($t).jqGrid("getGridParam", 'selrow');
Expand Down

0 comments on commit ad8e68c

Please sign in to comment.