From 34cdae0ab3cc66e9edc850aa1b54f023478d7786 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 8 Mar 2017 13:12:57 +0100 Subject: [PATCH] make id visible, show annotation id, also fixes link to annotation instead of in/out --- source/UI/js/Video/ClipPanel.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/UI/js/Video/ClipPanel.js b/source/UI/js/Video/ClipPanel.js index 32583026..e5095210 100644 --- a/source/UI/js/Video/ClipPanel.js +++ b/source/UI/js/Video/ClipPanel.js @@ -94,13 +94,17 @@ Ox.ClipPanel = function(options, self) { width: 60 }, { - addable: false, id: 'id', operator: '+', + title: Ox._('ID'), + format: function(value, data) { + return data.annotation ? data.annotation : data.item; + }, sort: function(value, data) { return data.sort; }, unique: true, + width: 60 }, { addable: false, @@ -356,7 +360,7 @@ Ox.ClipPanel = function(options, self) { columnsResizable: true, columnsVisible: true, items: Ox.clone(self.options.clips), - keys: ['director', 'year'], + keys: ['director', 'year', 'annotation'], pageLength: 1000, scrollbarVisible: true, selected: self.options.selected,