use pandora.getItemTitle to format movie title in edit

This commit is contained in:
rolux 2014-02-08 04:51:22 +00:00
parent dafd36fd18
commit 8ffe27353c

View file

@ -93,6 +93,9 @@ pandora.ui.editPanel = function() {
duration: edit.duration,
editable: edit.type == 'static' && edit.editable,
enableSubtitles: ui.videoSubtitles,
formatTitle: function() {
return pandora.getItemTitle(Ox.last(arguments));
},
fullscreen: false,
getClipImageURL: function(id, width, height) {
var clip = Ox.getObjectById(edit.clips, id);