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,
|
showUsers: pandora.site.annotations.showUsers,
|
||||||
smallTimelineURL: getSmallTimelineURL(),
|
smallTimelineURL: getSmallTimelineURL(),
|
||||||
sort: ui.edits[ui.edit].sort,
|
sort: ui.edits[ui.edit].sort,
|
||||||
sortOptions: [
|
sortOptions: (
|
||||||
{id: 'index', title: Ox._('Sort Manually'), operator: '+'}
|
edit.type == 'static'
|
||||||
]
|
? [{id: 'index', title: Ox._('Sort Manually'), operator: '+'}]
|
||||||
|
: []
|
||||||
|
)
|
||||||
.concat(
|
.concat(
|
||||||
pandora.site.clipKeys.map(function(key) {
|
pandora.site.clipKeys.map(function(key) {
|
||||||
return Ox.extend(Ox.clone(key), {
|
return Ox.extend(Ox.clone(key), {
|
||||||
|
|
Loading…
Reference in a new issue