1
0
Fork 0
forked from 0x2620/oxjs

reform Ox.List to allow for scroll position staying the same after deleting an item

This commit is contained in:
rolux 2011-05-29 18:05:29 +02:00
commit 7b2a0cfef5
3 changed files with 57 additions and 43 deletions

View file

@ -785,8 +785,8 @@ Ox.TextList = function(options, self) {
return that;
};
that.reloadList = function() {
that.$body.reloadList();
that.reloadList = function(stayAtPosition) {
that.$body.reloadList(stayAtPosition);
return that;
};