1
0
Fork 0
forked from 0x2620/oxjs

pass sort and item updates

This commit is contained in:
j 2013-07-14 14:56:41 +00:00
commit cae1875f44
2 changed files with 36 additions and 10 deletions

View file

@ -43,7 +43,10 @@ Ox.VideoEditPanel = function(options, self) {
.options(options || {})
.update({
clips: function() {
self.$clipPanel.options({clips: Ox.clone(self.options.clips)});
self.$clipPanel.options({
clips: Ox.clone(self.options.clips),
sort: self.options.clipSort
});
},
duration: function() {
self.$timeline && self.$timeline.replaceWith(
@ -252,6 +255,7 @@ Ox.VideoEditPanel = function(options, self) {
that.triggerEvent('select', data);
},
sort: function(data) {
self.options.clipSort = data;
that.triggerEvent('sort', data);
},
toggle: toggleClips,