This commit is contained in:
rolux 2012-05-30 19:22:24 +02:00
parent bff20cd96a
commit 721989b67b

View file

@ -1462,7 +1462,7 @@ Ox.List = function(options, self) {
updatePositions();
emptyFirstPage();
fillFirstPage();
}
};
/*@
closePreview <f> to be called when preview is closed externally
@ -1575,7 +1575,8 @@ Ox.List = function(options, self) {
}
emptyFirstPage();
fillFirstPage();
}
};
/*@
scrollToSelection <f> scroll list to current selection
() -> <f> returns List Element
@ -1622,8 +1623,7 @@ Ox.List = function(options, self) {
fillFirstPage();
}
return that;
}
};
/*@
sort <f> sort
@ -1632,7 +1632,7 @@ Ox.List = function(options, self) {
// but, fixme: better function name
that.sort = function() {
updateSort();
}
};
/*@
sortList <f> sort list
@ -1651,7 +1651,7 @@ Ox.List = function(options, self) {
that.triggerEvent('sort', self.options.sort[0]);
}
return that;
}
};
/*@
value <f> get/set list value
@ -1668,7 +1668,6 @@ Ox.List = function(options, self) {
var pos = Ox.isNumber(id) ? id : getPositionById(id),
$item = self.$items[pos],
data = $item ? $item.options('data') : {};
//Ox.print('List', 'that.value id key value pos', id, key, value, pos)
if (arguments.length == 1) {
return data;
} else if (arguments.length == 2) {