annotation folder: improve 'no items' message when range is not 'all'
This commit is contained in:
parent
c8135f4556
commit
c5f75d98c9
1 changed files with 5 additions and 1 deletions
|
@ -267,7 +267,11 @@ Ox.AnnotationFolder = function(options, self) {
|
||||||
: null,
|
: null,
|
||||||
highlight: self.options.highlight,
|
highlight: self.options.highlight,
|
||||||
items: self.annotations,
|
items: self.annotations,
|
||||||
placeholder: 'No ' + self.options.title,
|
placeholder: 'No ' + self.options.title + (
|
||||||
|
self.options.range == 'position' ? ' at Current Position'
|
||||||
|
: self.options.range == 'selection' ? ' in Current Selection'
|
||||||
|
: ''
|
||||||
|
),
|
||||||
selected: self.options.selected,
|
selected: self.options.selected,
|
||||||
separator: ';',
|
separator: ';',
|
||||||
sort: self.sort,
|
sort: self.sort,
|
||||||
|
|
Loading…
Add table
Reference in a new issue