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
|
|
@ -569,7 +569,7 @@ Ox.ListMap = function(options, self) {
|
|||
self.$placeButton.options({title: 'Add Place'});
|
||||
that.triggerEvent('removeplace', {id: self.selectedPlace});
|
||||
if (self.isAsync) {
|
||||
self.$list.options({selected: []}).reloadList();
|
||||
self.$list.options({selected: []}).reloadList(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue