1
0
Fork 0
forked from 0x2620/oxjs

fix list calendar bugs

This commit is contained in:
rlx 2012-01-30 23:27:27 +00:00
commit e8b1362309
5 changed files with 17 additions and 15 deletions

View file

@ -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) {

View file

@ -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');
}