only re-sort if more than one item
This commit is contained in:
parent
11fe22e879
commit
16365555e9
2 changed files with 5 additions and 2 deletions
|
@ -554,6 +554,7 @@ Lists
|
||||||
top: 16px;
|
top: 16px;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
.OxTextList .OxBody .OxContent {
|
.OxTextList .OxBody .OxContent {
|
||||||
//width: 100%;
|
//width: 100%;
|
||||||
|
|
|
@ -2876,9 +2876,11 @@ requires
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateSort() {
|
function updateSort() {
|
||||||
|
if (self.listLength > 1) {
|
||||||
clear();
|
clear();
|
||||||
getPositions();
|
getPositions();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
self.onChange = function(key, value) {
|
self.onChange = function(key, value) {
|
||||||
Ox.print("list onChange", key, value);
|
Ox.print("list onChange", key, value);
|
||||||
|
|
Loading…
Reference in a new issue