only re-sort if more than one item

This commit is contained in:
Rolux 2010-07-03 10:35:28 +02:00
parent e71b3b57dc
commit 220a63816c
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) {