From 5bbac7aadd9142f9e17af356c4da4e209bb5a77b Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 8 Feb 2014 04:53:15 +0000 Subject: [PATCH] video edit panel: fix formatTitle default --- source/Ox.UI/js/Video/ClipPanel.js | 4 +++- source/Ox.UI/js/Video/VideoEditPanel.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source/Ox.UI/js/Video/ClipPanel.js b/source/Ox.UI/js/Video/ClipPanel.js index fb5257a9..06444763 100644 --- a/source/Ox.UI/js/Video/ClipPanel.js +++ b/source/Ox.UI/js/Video/ClipPanel.js @@ -15,7 +15,9 @@ Ox.ClipPanel = function(options, self) { clickLink: null, duration: 0, editable: false, - formatTitle: Ox.identity, + formatTitle: function() { + return Ox.last(arguments); + }, getClipImageURL: null, 'in': 0, itemName: '', diff --git a/source/Ox.UI/js/Video/VideoEditPanel.js b/source/Ox.UI/js/Video/VideoEditPanel.js index 63c2381d..6f7bb4a1 100644 --- a/source/Ox.UI/js/Video/VideoEditPanel.js +++ b/source/Ox.UI/js/Video/VideoEditPanel.js @@ -19,7 +19,9 @@ Ox.VideoEditPanel = function(options, self) { duration: 0, editable: false, enableSubtitles: false, - formatTitle: Ox.identity, + formatTitle: function() { + return Ox.last(arguments); + }, fps: 25, fullscreen: false, getClipImageURL: null,