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;
}
function getItemWidth(cached) {
if (!cached) {
self.cachedWidth = that.$element.width() - Ox.UI.SCROLLBAR_SIZE;
@ -181,8 +180,8 @@ Ox.InfoList = function(options, self) {
return that;
};
that.reloadList = function() {
that.$element.reloadList();
that.reloadList = function(stayAtPosition) {
that.$element.reloadList(stayAtPosition);
return that;
};