diff --git a/static/js/editPanel.js b/static/js/editPanel.js index 20b7f4da..3658da7f 100644 --- a/static/js/editPanel.js +++ b/static/js/editPanel.js @@ -532,8 +532,7 @@ pandora.ui.editPanel = function(isEmbed) { edit.clips.forEach(function(clip) { clip.index = ids.indexOf(clip.id); }); - edit.clips = Ox.sortBy(edit.clips, 'index'); - updateVideos(); + updateClips(Ox.sortBy(edit.clips, 'index')); } function getLayers(clips) { @@ -692,17 +691,6 @@ pandora.ui.editPanel = function(isEmbed) { }); }); } - - function updateVideos() { - updateDuration(); - that.options({ - duration: edit.duration, - smallTimelineURL: getSmallTimelineURL(), - video: getVideos() - }); - updateSmallTimelineURL(); - } - return that; };