more lists stuff

This commit is contained in:
rlx 2011-01-14 06:25:16 +00:00
parent 6cf02b4e61
commit 8e93352c4c

View file

@ -236,7 +236,7 @@ requires
data: JSON.stringify(data)
},
callback: callback
}, value.cache ? {timeout: 0}: {}));
}, !value.cache ? {age: 0}: {}));
};
});
that.api[self.options.init](getUserData(), function(data) {
@ -7233,6 +7233,7 @@ requires
max: -1,
min: 0,
pageLength: 100,
scrollbarVisible: false,
selected: [],
request: function() {}, // {sort, range, keys, callback}
sort: []
@ -7344,7 +7345,7 @@ requires
.addClass('OxBody')
.css({
top: (self.options.columnsVisible ? 16 : 0) + 'px',
overflowY: (self.options.columnsVisible ? 'scroll' : 'hidden')
overflowY: (self.options.scrollbarVisible ? 'scroll' : 'hidden')
})
.scroll(function() {
var scrollLeft = $(this).scrollLeft();
@ -7631,7 +7632,7 @@ requires
return Math.max(
Ox.sum(self.columnWidths),
that.$element.width() -
(self.options.columnsVisible ? oxui.scrollbarSize : 0)
(self.options.scrollbarVisible ? oxui.scrollbarSize : 0)
);
//return Ox.sum(self.columnWidths)
}