I just want to point this out. In formeditm, inlineedit and maybe somewhere else, the $.ajax call looks like
$.ajax($.extend({url:…},$.jgrid.ajaxOptions, rp_ge.ajaxEditOptions ));
let's say we have {url:”someurl”,data:{key1:value1,key2:value2}} and rp_ge.ajaxEditOptions={data:{key3:value3}}
the result is that the data variable that will be sent will be data = {key3:value3}.
I believe that the intention should be to complement the variable and for this we would need the deep copy options to be set to true.
$.ajax($.extend(true,{url:…},$.jgrid.ajaxOptions, rp_ge.ajaxEditOptions ));
UNLESS this is the desired behavior, of course.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top