minor timeout voodoo

This commit is contained in:
rolux 2012-09-05 12:05:01 +02:00
parent 4105f79106
commit 075aac449c

View file

@ -380,11 +380,11 @@ Ox.TableList = function(options, self) {
// so we use a timeout for now
setTimeout(function() {
that.$body.options({sort: self.options.sort});
}, 10);
that.gainFocus().triggerEvent('sort', {
key: self.options.sort[0].key,
operator: self.options.sort[0].operator
});
}, 10);
}
function constructHead() {