Ver código fonte

update webpage name to be much longer, remove .html from links and refactor newsletter layout

version-14
Rushabh Mehta 12 anos atrás
pai
commit
5054a6848f
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      public/js/legacy/widgets/form/form.js

+ 2
- 2
public/js/legacy/widgets/form/form.js Ver arquivo

@@ -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'});
} }
} }
} }


Carregando…
Cancelar
Salvar