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,
|
||||
highlight: self.options.highlight,
|
||||
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,
|
||||
separator: ';',
|
||||
sort: self.sort,
|
||||
|
|
Loading…
Reference in a new issue