disable sort by out

This commit is contained in:
j 2014-02-07 12:26:07 +00:00
parent 9cd62ab222
commit fef7880dbf

View file

@ -125,7 +125,6 @@ Ox.ClipPanel = function(options, self) {
).join(Ox.formatDuration(value, 3)); ).join(Ox.formatDuration(value, 3));
}, },
id: 'out', id: 'out',
operator: '+',
title: Ox._('Out'), title: Ox._('Out'),
visible: true, visible: true,
width: 90 width: 90
@ -430,7 +429,7 @@ Ox.ClipPanel = function(options, self) {
that.triggerEvent('select', data); that.triggerEvent('select', data);
}, },
sort: function(data) { sort: function(data) {
if (['in', 'out'].indexOf(data.key) > -1) { if (data.key == 'in') {
data.key = 'position'; data.key = 'position';
} }
self.options.sort = [data]; self.options.sort = [data];