From 7ea6938de5916d2845de1c6e853160aaabe7a7dd Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Thu, 20 Oct 2011 16:49:42 +0000 Subject: [PATCH] fix reloadList for InfoList --- source/Ox.UI/js/List/Ox.InfoList.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/Ox.UI/js/List/Ox.InfoList.js b/source/Ox.UI/js/List/Ox.InfoList.js index 8254a424..0890e7cb 100644 --- a/source/Ox.UI/js/List/Ox.InfoList.js +++ b/source/Ox.UI/js/List/Ox.InfoList.js @@ -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; };