only re-sort if more than one item

This commit is contained in:
Rolux 2010-07-03 10:35:28 +02:00
parent 11fe22e879
commit 16365555e9
2 changed files with 5 additions and 2 deletions

View file

@ -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%;

View file

@ -2876,8 +2876,10 @@ requires
} }
function updateSort() { function updateSort() {
clear(); if (self.listLength > 1) {
getPositions(); clear();
getPositions();
}
} }
self.onChange = function(key, value) { self.onChange = function(key, value) {