remove unneeded div wrapper for list items
This commit is contained in:
parent
b4c684e366
commit
5405f99423
1 changed files with 10 additions and 5 deletions
|
@ -2694,13 +2694,18 @@ requires
|
|||
data: {},
|
||||
pos: 0
|
||||
})
|
||||
.options(options || {})
|
||||
.options(options || {});
|
||||
|
||||
$.each(self.options.data, function(k, v) {
|
||||
self.options.data[k] = $.isArray(v) ? v.join(", ") : v;
|
||||
});
|
||||
|
||||
that.append(self.options.construct(self.options.data, self.options.pos));
|
||||
that.$element = self.options.construct(self.options.data, self.options.pos);
|
||||
/*
|
||||
$.each(self.options.construct(self.options.data, self.options.pos).children(), function(i, v) {
|
||||
that.append(v);
|
||||
});
|
||||
*/
|
||||
|
||||
return that;
|
||||
|
||||
|
@ -2848,8 +2853,7 @@ requires
|
|||
.css({
|
||||
width: Ox.sum(self.columnWidths) + "px"
|
||||
})
|
||||
.data("pos", pos)
|
||||
.click(function() {});
|
||||
.data("pos", pos);
|
||||
$.each(self.visibleColumns, function(i, v) {
|
||||
var $cell = $("<div>")
|
||||
.addClass("OxCell OxColumn" + Ox.toTitleCase(v.id))
|
||||
|
@ -2921,12 +2925,13 @@ requires
|
|||
that.$titles[pos].toggleClass("OxSelected");
|
||||
that.$titles[pos].next().toggleClass("OxSelected");
|
||||
that.$titles[pos].next().next().children().eq(0).toggleClass("OxSelected");
|
||||
/*
|
||||
that.$titles[pos].css({
|
||||
width: (
|
||||
that.$titles[pos].width() + pos == self.selectedColumn ? -16 : 16
|
||||
) + "px"
|
||||
});
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
that.sort = function(key, operator) {
|
||||
|
|
Loading…
Reference in a new issue