Skip to content

Commit

Permalink
Get data from FormElements but not from their children. This allows g…
Browse files Browse the repository at this point in the history
…rids within a grid
  • Loading branch information
tonytomov committed Jun 15, 2011
1 parent d42339d commit a3374d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/grid.formedit.js
Expand Up @@ -346,7 +346,7 @@ $.jgrid.extend({
closeovrl = false;
}
function getFormData(){
$(".FormElement", "#"+frmtb).each(function(i) {
$("#"+frmtb+" > tbody > tr > td > .FormElement").each(function(i) {
var celm = $(".customelement", this);
if (celm.length) {
var elem = celm[0], nm = $(elem).attr('name');
Expand Down

0 comments on commit a3374d9

Please sign in to comment.