Commit cd6bbf0a authored by Sven Franck's avatar Sven Franck

app: fixed wrong class assignment in pagination bar

parent 7170fd76
......@@ -2779,12 +2779,12 @@
**/
// TODO: make this a real widget with methods!
factory.util.paginationBar = function (spec) {
var n, option, props, option_list, class_list, config, len, opts, pointer;
var n, option, props, option_list, config, len, opts, pointer;
option_list = [{"value": "", "text": "", "text_i18n": ""}];
opts = spec.option_list || [];
props = spec.slot ? {"slot": spec.slot} : {};
class_list = spec.class_list || "";
props.class_list = spec.class_list || "";
for (n = 0, len = opts.length; n < len; n += 1) {
option = opts[n];
......@@ -2798,7 +2798,6 @@
config = {
"generate": "widget",
"type": "controlbar",
"class_list": class_list,
"property_dict": props,
"children": [{
"generate": "widget",
......
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