diff --git a/source/Ox.UI/js/Video/ClipPanel.js b/source/Ox.UI/js/Video/ClipPanel.js index f2c0208b..b401e550 100644 --- a/source/Ox.UI/js/Video/ClipPanel.js +++ b/source/Ox.UI/js/Video/ClipPanel.js @@ -9,7 +9,6 @@ Ox.ClipPanel = function(options, self) { annotationsFont: 'small', annotationsMapSize: 256, annotationsRange: 'all', - annotationsSize: 256, annotationsSort: 'position', clips: [], clickLink: null, @@ -239,9 +238,14 @@ Ox.ClipPanel = function(options, self) { showMap: self.options.showAnnotationsMap, showUsers: self.options.showUsers, sort: self.options.annotationsSort, - width: self.options.annotationsSize + width: self.options.width }); + $list.size = function() { + $list.options({ + width: self.options.width + }); + }; return $list; } else if (self.options.view == 'list') { $list = Ox.TableList({ diff --git a/source/Ox.UI/js/Video/VideoEditPanel.js b/source/Ox.UI/js/Video/VideoEditPanel.js index b984324a..cbf489ef 100644 --- a/source/Ox.UI/js/Video/VideoEditPanel.js +++ b/source/Ox.UI/js/Video/VideoEditPanel.js @@ -9,7 +9,6 @@ Ox.VideoEditPanel = function(options, self) { annotationsFont: 'small', annotationsMapSize: 256, annotationsRange: 'all', - annotationsSize: 256, annotationsSort: 'position', clips: [], clipSize: 256, @@ -298,7 +297,6 @@ Ox.VideoEditPanel = function(options, self) { annotationsFont: self.options.annotationsFont, annotationsMapSize: self.options.annotationsMapSize, annotationsRange: self.options.annotationsRange, - annotationsSize: self.options.annotationsSize, annotationsSort: self.options.annotationsSort, clips: Ox.clone(self.options.clips), clickLink: self.options.clickLink,