Commit 351fab87 authored by Sven Franck's avatar Sven Franck

fixed checkbox wrapper class missing

parent e4cd2b62
......@@ -1915,7 +1915,7 @@
"type":"input",
"direct": {
"id": settings.portal_type_title + "_tick_all",
"className": "action", "type":"checkbox"
"className": "action"
},
"attributes": {
"type": "checkbox",
......@@ -1941,9 +1941,6 @@
field_config = {};
if (field.show) {
console.log(fields)
console.log(settings[property])
field_config = fields[settings[property]];
if (field.merge === undefined) {
......@@ -2025,7 +2022,7 @@
"direct": {
"id": item.id,
"name": item.id,
"className": "action",
"className": "action"
},
"attributes": {
"type": "checkbox",
......@@ -2754,7 +2751,7 @@
if (input_type) {
switch (input_type) {
case "radio":
container_classes = "ui-" + config.direct.type;
container_classes = "ui-" + config.attributes.type;
label_inside = true;
label_classes = "ui-btn ui-corner-all ui-btn-inherit" +
" ui-btn-icon-left ui-icon-radio-" + active + " ui-radio-" +
......@@ -2763,7 +2760,7 @@
break;
case "checkbox":
icon_string = factory.generateIconClassString(config, "checkbox");
container_classes = "ui-"+config.direct.type;
container_classes = "ui-"+ config.attributes.type;
label_inside = true;
label_classes = "ui-btn ui-corner-all ui-btn-inherit " +
icon_string + " ui-checkbox-" + active + index + disabled
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment