forked from 0x2620/pandora
use pandora.getItemTitle to format movie title in edit
This commit is contained in:
parent
dafd36fd18
commit
8ffe27353c
1 changed files with 3 additions and 0 deletions
|
@ -93,6 +93,9 @@ pandora.ui.editPanel = function() {
|
||||||
duration: edit.duration,
|
duration: edit.duration,
|
||||||
editable: edit.type == 'static' && edit.editable,
|
editable: edit.type == 'static' && edit.editable,
|
||||||
enableSubtitles: ui.videoSubtitles,
|
enableSubtitles: ui.videoSubtitles,
|
||||||
|
formatTitle: function() {
|
||||||
|
return pandora.getItemTitle(Ox.last(arguments));
|
||||||
|
},
|
||||||
fullscreen: false,
|
fullscreen: false,
|
||||||
getClipImageURL: function(id, width, height) {
|
getClipImageURL: function(id, width, height) {
|
||||||
var clip = Ox.getObjectById(edit.clips, id);
|
var clip = Ox.getObjectById(edit.clips, id);
|
||||||
|
|
Loading…
Reference in a new issue