bugfix
This commit is contained in:
parent
9db92d6a4e
commit
8a9bc2cdbb
@ -23,7 +23,7 @@ bricks.FieldGroup = class {
|
|||||||
parent.add_widget(dc);
|
parent.add_widget(dc);
|
||||||
dc = new bricks.DynamicColumn({mobile_cols:2});
|
dc = new bricks.DynamicColumn({mobile_cols:2});
|
||||||
dc.set_id(fields[i].name+'_box');
|
dc.set_id(fields[i].name+'_box');
|
||||||
if (fields[i].nonuse))
|
if (fields[i].nonuse){
|
||||||
dc.disabled(true);
|
dc.disabled(true);
|
||||||
dc.hide();
|
dc.hide();
|
||||||
}
|
}
|
||||||
@ -48,7 +48,7 @@ bricks.FieldGroup = class {
|
|||||||
i18n:true});
|
i18n:true});
|
||||||
box.add_widget(txt);
|
box.add_widget(txt);
|
||||||
box.set_id(fields[i].name + '_box')
|
box.set_id(fields[i].name + '_box')
|
||||||
if (fields[i].nonuse))
|
if (fields[i].nonuse){
|
||||||
box.disabled(true);
|
box.disabled(true);
|
||||||
box.hide();
|
box.hide();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user