clean up video panels
This commit is contained in:
parent
c8d0969a41
commit
7dc86d3ca2
4 changed files with 8 additions and 28 deletions
|
@ -274,26 +274,6 @@ Ox.ClipPanel = function(options, self) {
|
|||
return self.options.editable && self.options.sort[0].key == 'index';
|
||||
}
|
||||
|
||||
function moveClips(data) {
|
||||
Ox.Request.clearCache();
|
||||
pandora.api.sortClips({
|
||||
edit: pandora.user.ui.edit,
|
||||
ids: data.ids
|
||||
})
|
||||
}
|
||||
|
||||
function openClips(data) {
|
||||
|
||||
}
|
||||
|
||||
function pasteClips() {
|
||||
|
||||
}
|
||||
|
||||
function removeClips() {
|
||||
|
||||
}
|
||||
|
||||
function updateSortElement() {
|
||||
|
||||
}
|
||||
|
|
|
@ -74,10 +74,10 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
self.$annotationPanel.options({selected: self.options.selected});
|
||||
},
|
||||
showClips: function() {
|
||||
that.$element.toggle(1);
|
||||
self.$mainPanel.toggle(1);
|
||||
},
|
||||
showTimeline: function() {
|
||||
self.$videoPanel.toggle(1);
|
||||
self.$videoPanel.toggle(2);
|
||||
},
|
||||
smallTimelineURL: function() {
|
||||
self.$video.options({timeline: self.options.smallTimelineURL});
|
||||
|
@ -261,7 +261,7 @@ Ox.VideoEditPanel = function(options, self) {
|
|||
});
|
||||
|
||||
that.setElement(
|
||||
Ox.SplitPanel({
|
||||
self.$mainPanel = Ox.SplitPanel({
|
||||
elements: [
|
||||
{
|
||||
element: self.$videoPanel
|
||||
|
|
|
@ -119,7 +119,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
);
|
||||
},
|
||||
showAnnotations: function() {
|
||||
that.$element.toggle(1);
|
||||
self.$mainPanel.toggle(1);
|
||||
},
|
||||
timeline: function() {
|
||||
self.$menuButton.checkItem(self.options.timeline);
|
||||
|
@ -826,7 +826,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
});
|
||||
|
||||
that.setElement(
|
||||
Ox.SplitPanel({
|
||||
self.$mainPanel = Ox.SplitPanel({
|
||||
elements: [
|
||||
{
|
||||
element: Ox.SplitPanel({
|
||||
|
|
|
@ -106,7 +106,7 @@ Ox.VideoPanel = function(options, self) {
|
|||
self.$annotationPanel.options({selected: self.options.selected});
|
||||
},
|
||||
showAnnotations: function() {
|
||||
that.$element.toggle(1);
|
||||
self.$mainPanel.toggle(1);
|
||||
},
|
||||
showTimeline: function() {
|
||||
self.$videoPanel.toggle(1);
|
||||
|
@ -335,7 +335,7 @@ Ox.VideoPanel = function(options, self) {
|
|||
});
|
||||
|
||||
that.setElement(
|
||||
self.$panel = Ox.SplitPanel({
|
||||
self.$mainPanel = Ox.SplitPanel({
|
||||
elements: [
|
||||
{
|
||||
element: self.$videoPanel
|
||||
|
@ -513,7 +513,7 @@ Ox.VideoPanel = function(options, self) {
|
|||
() -> <o> toggle visibility of annotations
|
||||
@*/
|
||||
that.toggleAnnotations = function() {
|
||||
that.$element.toggle(1);
|
||||
self.$mainPanel.toggle(1);
|
||||
};
|
||||
|
||||
/*@
|
||||
|
|
Loading…
Reference in a new issue