Commit 34a5de2b authored by Sven Franck's avatar Sven Franck

app: add custom classes to list item generator

parent f5b23f1a
...@@ -1849,7 +1849,7 @@ ...@@ -1849,7 +1849,7 @@
"className": "ui-li-divider ui-bar-" + theme + "className": "ui-li-divider ui-bar-" + theme +
(count === 0 ? " ui-first-child" : (count === 0 ? " ui-first-child" :
((count === config.length - 1) ? ((count === config.length - 1) ?
" ui-last-child" : "")) " ui-last-child" : "")) + (element.class_list || "")
}, },
"attributes": {}, "attributes": {},
"logic": {"text": auto} "logic": {"text": auto}
...@@ -1884,7 +1884,8 @@ ...@@ -1884,7 +1884,8 @@
" ui-last-child " : " ")) + content.pop() + " ui-last-child " : " ")) + content.pop() +
(static_item ? " ui-li-static ui-body-inherit " : " ") + (static_item ? " ui-li-static ui-body-inherit " : " ") +
(config.form_item ? "ui-field-contain " : " ") + (config.form_item ? "ui-field-contain " : " ") +
(config.reveal ? "ui-screen-hidden " : " ") (config.reveal ? "ui-screen-hidden " : " ") +
(element.class_list || "")
}, },
"logic": { "logic": {
"data-role": divider ? "divider" : null, "data-role": divider ? "divider" : null,
...@@ -2059,7 +2060,7 @@ ...@@ -2059,7 +2060,7 @@
target = function () { target = function () {
return factory.widget.controlbar({ return factory.widget.controlbar({
"wrap": "section", "wrap": "section",
"class_list": "span_2" "class_list": "span_1"
}); });
}; };
......
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