forked from 0x2620/pandora
fix a bug in edit panel
This commit is contained in:
parent
0937c4779a
commit
4660e8f596
1 changed files with 5 additions and 3 deletions
|
@ -120,9 +120,11 @@ pandora.ui.editPanel = function() {
|
|||
showUsers: pandora.site.annotations.showUsers,
|
||||
smallTimelineURL: getSmallTimelineURL(),
|
||||
sort: ui.edits[ui.edit].sort,
|
||||
sortOptions: [
|
||||
{id: 'index', title: Ox._('Sort Manually'), operator: '+'}
|
||||
]
|
||||
sortOptions: (
|
||||
edit.type == 'static'
|
||||
? [{id: 'index', title: Ox._('Sort Manually'), operator: '+'}]
|
||||
: []
|
||||
)
|
||||
.concat(
|
||||
pandora.site.clipKeys.map(function(key) {
|
||||
return Ox.extend(Ox.clone(key), {
|
||||
|
|
Loading…
Reference in a new issue