diff --git a/source/Ox.UI/js/Video/ClipPanel.js b/source/Ox.UI/js/Video/ClipPanel.js index 48e7670e..f17410a5 100644 --- a/source/Ox.UI/js/Video/ClipPanel.js +++ b/source/Ox.UI/js/Video/ClipPanel.js @@ -28,6 +28,9 @@ Ox.ClipPanel = function(options, self) { updateStatus(); }, duration: updateStatus, + height: function() { + self.$list.size(); + }, sort: function() { updateSortElement(); self.$list.options({ @@ -255,8 +258,8 @@ Ox.ClipPanel = function(options, self) { copy: function(data) { that.triggerEvent('copy', data); }, - cut: function(data) { - that.triggerEvent('cut', data); + copyadd: function(data) { + that.triggerEvent('copyadd', data); }, 'delete': function(data) { that.triggerEvent('remove', data); diff --git a/source/Ox.UI/js/Video/VideoEditPanel.js b/source/Ox.UI/js/Video/VideoEditPanel.js index 0388e591..a9750b87 100644 --- a/source/Ox.UI/js/Video/VideoEditPanel.js +++ b/source/Ox.UI/js/Video/VideoEditPanel.js @@ -58,6 +58,7 @@ Ox.VideoEditPanel = function(options, self) { }, height: function() { self.$video.options({height: getPlayerHeight()}); + self.$clipPanel.options({height: self.options.height}); }, 'in': function() { setPoint('in', self.options['in']); @@ -254,8 +255,8 @@ Ox.VideoEditPanel = function(options, self) { copy: function(data) { that.triggerEvent('copy', data); }, - cut: function(data) { - that.triggerEvent('cut', data); + copyadd: function(data) { + that.triggerEvent('copyadd', data); }, edit: function(data) { that.triggerEvent('edit', data);