|
@@ -352,7 +352,7 @@ _f.Frm.prototype.setup_fields_std = function() { |
|
|
|
|
|
|
|
|
if(sec && ['Section Break', 'Column Break'].indexOf(f.fieldtype)==-1) { |
|
|
if(sec && ['Section Break', 'Column Break'].indexOf(f.fieldtype)==-1) { |
|
|
fld.parent_section = sec; |
|
|
fld.parent_section = sec; |
|
|
sec.fields.push(fld); |
|
|
|
|
|
|
|
|
sec.fields.push(fld); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if(f.fieldtype=='Section Break') { |
|
|
if(f.fieldtype=='Section Break') { |
|
@@ -363,7 +363,7 @@ _f.Frm.prototype.setup_fields_std = function() { |
|
|
// default col-break after sec-break |
|
|
// default col-break after sec-break |
|
|
if((f.fieldtype=='Section Break')&&(fl[i+1])&&(fl[i+1].fieldtype!='Column Break')) { |
|
|
if((f.fieldtype=='Section Break')&&(fl[i+1])&&(fl[i+1].fieldtype!='Column Break')) { |
|
|
var c = this.layout.addcell(); |
|
|
var c = this.layout.addcell(); |
|
|
$y(c.wrapper, {padding: '8px'}); |
|
|
|
|
|
|
|
|
$y(c.wrapper, {padding: '8px'}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|