forked from 0x2620/oxjs
allow for autocomplete in annotations of type entity (first pass)
This commit is contained in:
parent
ad7e5f3eaf
commit
d6a1dae8b8
5 changed files with 31 additions and 3 deletions
|
|
@ -339,6 +339,7 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
collapsed: !self.options.showLayers[layer.id],
|
||||
editable: self.options.editable,
|
||||
highlight: self.options.highlight,
|
||||
id: layer.id,
|
||||
'in': self.options['in'],
|
||||
keyboard: index + 1 + '',
|
||||
out: self.options.out,
|
||||
|
|
@ -347,7 +348,9 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
selected: selected,
|
||||
sort: self.options.sort,
|
||||
width: self.options.width - Ox.UI.SCROLLBAR_SIZE
|
||||
}, layer, layer.type == 'event' ? {
|
||||
}, layer, layer.type == 'entity' ? {
|
||||
autocomplete: self.options.autocomplete,
|
||||
} : layer.type == 'event' ? {
|
||||
showWidget: self.options.showCalendar,
|
||||
widgetSize: self.options.calendarSize
|
||||
} : layer.type == 'place' ? {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue