diff --git a/static/js/editPanel.js b/static/js/editPanel.js index d6c63dd6..69054dfd 100644 --- a/static/js/editPanel.js +++ b/static/js/editPanel.js @@ -102,7 +102,7 @@ pandora.ui.editPanel = function() { position: ui.edits[ui.edit].position, resolution: ui.videoResolution, scaleToFill: ui.videoScale == 'fill', - // selected: ... + selected: ui.edits[ui.edit].selection, showClips: ui.showClips, showTimeline: ui.showTimeline, smallTimelineURL: getSmallTimelineURL(), @@ -245,6 +245,9 @@ pandora.ui.editPanel = function() { scale: function(data) { pandora.UI.set({videoScale: data.scale}); }, + select: function(data) { + pandora.UI.set(editsKey('selection'), data.ids); + }, size: function(data) { pandora.UI.set({clipSize: data.size}); },