forked from 0x2620/oxjs
reform Ox.List to allow for scroll position staying the same after deleting an item
This commit is contained in:
parent
ccc4a743d8
commit
7b2a0cfef5
3 changed files with 57 additions and 43 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue