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

fixed checkbox wrapper class missing

parent e4cd2b62
...@@ -1915,7 +1915,7 @@ ...@@ -1915,7 +1915,7 @@
"type":"input", "type":"input",
"direct": { "direct": {
"id": settings.portal_type_title + "_tick_all", "id": settings.portal_type_title + "_tick_all",
"className": "action", "type":"checkbox" "className": "action"
}, },
"attributes": { "attributes": {
"type": "checkbox", "type": "checkbox",
...@@ -1941,9 +1941,6 @@ ...@@ -1941,9 +1941,6 @@
field_config = {}; field_config = {};
if (field.show) { if (field.show) {
console.log(fields)
console.log(settings[property])
field_config = fields[settings[property]]; field_config = fields[settings[property]];
if (field.merge === undefined) { if (field.merge === undefined) {
...@@ -2025,7 +2022,7 @@ ...@@ -2025,7 +2022,7 @@
"direct": { "direct": {
"id": item.id, "id": item.id,
"name": item.id, "name": item.id,
"className": "action", "className": "action"
}, },
"attributes": { "attributes": {
"type": "checkbox", "type": "checkbox",
...@@ -2754,7 +2751,7 @@ ...@@ -2754,7 +2751,7 @@
if (input_type) { if (input_type) {
switch (input_type) { switch (input_type) {
case "radio": case "radio":
container_classes = "ui-" + config.direct.type; container_classes = "ui-" + config.attributes.type;
label_inside = true; label_inside = true;
label_classes = "ui-btn ui-corner-all ui-btn-inherit" + label_classes = "ui-btn ui-corner-all ui-btn-inherit" +
" ui-btn-icon-left ui-icon-radio-" + active + " ui-radio-" + " ui-btn-icon-left ui-icon-radio-" + active + " ui-radio-" +
...@@ -2763,7 +2760,7 @@ ...@@ -2763,7 +2760,7 @@
break; break;
case "checkbox": case "checkbox":
icon_string = factory.generateIconClassString(config, "checkbox"); icon_string = factory.generateIconClassString(config, "checkbox");
container_classes = "ui-"+config.direct.type; container_classes = "ui-"+ config.attributes.type;
label_inside = true; label_inside = true;
label_classes = "ui-btn ui-corner-all ui-btn-inherit " + label_classes = "ui-btn ui-corner-all ui-btn-inherit " +
icon_string + " ui-checkbox-" + active + index + disabled 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