fix a bug with setting the items option of a static list to []
This commit is contained in:
parent
4197f24e65
commit
8d940f5222
1 changed files with 2 additions and 2 deletions
|
@ -1351,7 +1351,7 @@ Ox.List = function(options, self) {
|
|||
operator = self.options.sort[0].operator,
|
||||
selectedIds,
|
||||
sort = {};
|
||||
if (self.listLength > 1) {
|
||||
//if (self.listLength > 1) {
|
||||
if (!self.isAsync) {
|
||||
selectedIds = getSelectedIds();
|
||||
self.options.items.forEach(function(item) {
|
||||
|
@ -1381,7 +1381,7 @@ Ox.List = function(options, self) {
|
|||
clear(); // fixme: bad function name
|
||||
getPositions();
|
||||
}
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
self.setOption = function(key, value) {
|
||||
|
|
Loading…
Reference in a new issue