faster loading of timeline, on load and on dblclick

This commit is contained in:
rolux 2010-12-23 12:59:43 +00:00
parent 6c88cbe94f
commit c14a5eab5f

View file

@ -6172,7 +6172,7 @@ requires
} }
function getListHeight() { function getListHeight() {
return Math.ceil(self.listLength * (self.options.itemHeight + self.itemMargin) / self.rowLength), // fixme: should be listSize return Math.ceil(self.listLength * (self.options.itemHeight + self.itemMargin) / self.rowLength); // fixme: should be listSize
} }
function getNext() { function getNext() {
@ -8930,6 +8930,7 @@ requires
that.$elements = []; that.$elements = [];
$.each(self.options.elements, function(i, v) { $.each(self.options.elements, function(i, v) {
Ox.print('$$$$ v', v)
self.options.elements[i] = $.extend({ self.options.elements[i] = $.extend({
collapsible: false, collapsible: false,
collapsed: false, collapsed: false,