only index+ is sortable
This commit is contained in:
parent
7dc86d3ca2
commit
d7786e79a5
1 changed files with 4 additions and 1 deletions
|
@ -271,7 +271,10 @@ Ox.ClipPanel = function(options, self) {
|
|||
}
|
||||
|
||||
function isSortable() {
|
||||
return self.options.editable && self.options.sort[0].key == 'index';
|
||||
return self.options.editable
|
||||
&& self.options.sort && self.options.sort.length
|
||||
&& self.options.sort[0].key == 'index'
|
||||
&& self.options.sort[0].operator == '+';
|
||||
}
|
||||
|
||||
function updateSortElement() {
|
||||
|
|
Loading…
Reference in a new issue