dont sort sortable list on move

This commit is contained in:
j 2013-07-14 10:39:13 +00:00
parent 92e49fe41a
commit 04d3160da8

View file

@ -1205,7 +1205,7 @@ Ox.TableList = function(options, self) {
} }
$cell = getCell(id, key); $cell = getCell(id, key);
$cell && $cell.html(formatValue(key, value, that.$body.value(id))); $cell && $cell.html(formatValue(key, value, that.$body.value(id)));
if (key == self.options.sort[0].key) { if (!self.options.sortable && key == self.options.sort[0].key) {
// sort key has changed // sort key has changed
that.$body.sort(); that.$body.sort();
} }