From c5f75d98c94a92da94854f1cbf8f62bd2ccd62ff Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 8 Mar 2013 16:33:13 +0530 Subject: [PATCH] annotation folder: improve 'no items' message when range is not 'all' --- source/Ox.UI/js/Video/AnnotationFolder.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/AnnotationFolder.js b/source/Ox.UI/js/Video/AnnotationFolder.js index fc6825d2..b5dc4719 100644 --- a/source/Ox.UI/js/Video/AnnotationFolder.js +++ b/source/Ox.UI/js/Video/AnnotationFolder.js @@ -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,