fix reloadList for InfoList

This commit is contained in:
rlx 2011-10-20 16:49:42 +00:00
parent 342b25d9cc
commit 7ea6938de5

View file

@ -127,7 +127,6 @@ Ox.InfoList = function(options, self) {
return $item; return $item;
} }
function getItemWidth(cached) { function getItemWidth(cached) {
if (!cached) { if (!cached) {
self.cachedWidth = that.$element.width() - Ox.UI.SCROLLBAR_SIZE; self.cachedWidth = that.$element.width() - Ox.UI.SCROLLBAR_SIZE;
@ -181,8 +180,8 @@ Ox.InfoList = function(options, self) {
return that; return that;
}; };
that.reloadList = function() { that.reloadList = function(stayAtPosition) {
that.$element.reloadList(); that.$element.reloadList(stayAtPosition);
return that; return that;
}; };