fix list display bugs
This commit is contained in:
parent
f9c04d4c4c
commit
a3fb9d1545
1 changed files with 1 additions and 16 deletions
|
@ -116,22 +116,7 @@ oml.ui.list = function() {
|
||||||
oml.UI.set({listSelection: data.ids});
|
oml.UI.set({listSelection: data.ids});
|
||||||
},
|
},
|
||||||
oml_find: function() {
|
oml_find: function() {
|
||||||
/*
|
that.reloadList();
|
||||||
that.options({sort: ...}) reloads the list,
|
|
||||||
but does not update the number of items
|
|
||||||
*/
|
|
||||||
if (ui.listView == oml.UI.getPrevious().listView) {
|
|
||||||
if (
|
|
||||||
JSON.stringify(ui.listSort)
|
|
||||||
== JSON.stringify(oml.UI.getPrevious().listSort)
|
|
||||||
) {
|
|
||||||
that.reloadList();
|
|
||||||
} else {
|
|
||||||
that.options({
|
|
||||||
sort: Ox.clone(ui.listSort, true)
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
oml_item: function() {
|
oml_item: function() {
|
||||||
if (!ui.item) {
|
if (!ui.item) {
|
||||||
|
|
Loading…
Reference in a new issue