forked from 0x2620/oxjs
fix list calendar bugs
This commit is contained in:
parent
b19e4c0c79
commit
e8b1362309
5 changed files with 17 additions and 15 deletions
|
|
@ -762,9 +762,8 @@ Ox.List = function(options, self) {
|
|||
setTimeout(fillFirstPage, 0);
|
||||
self.selected.length && scrollToPosition(self.selected[0]);
|
||||
Ox.Log('List', 'CONSTRUCT:', timeC, 'APPEND:', timeA);
|
||||
// that.triggerEvent('init', {items: self.options.items.length});
|
||||
that.triggerEvent('init', {items: self.options.items.length});
|
||||
// fixme: do sync lists need to trigger init?
|
||||
// will this only be reached in sync lists?
|
||||
}
|
||||
|
||||
function loadPage(page, callback) {
|
||||
|
|
|
|||
|
|
@ -222,11 +222,6 @@ Ox.TextList = function(options, self) {
|
|||
edit: function(data) {
|
||||
that.editCell(data.id, data.key);
|
||||
},
|
||||
init: function(data) {
|
||||
// fixme: why does this never reach?
|
||||
//Ox.Log('List', 'INIT????')
|
||||
//that.triggerEvent('init', data);
|
||||
},
|
||||
select: function() {
|
||||
self.options.selected = that.$body.options('selected');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue