forked from 0x2620/pandora
editor.js: reorder event handlers automatically
This commit is contained in:
parent
4e817ad7b5
commit
a714cc567e
1 changed files with 6 additions and 6 deletions
|
@ -241,21 +241,21 @@ pandora.ui.editor = function(data) {
|
||||||
timeline: function(data) {
|
timeline: function(data) {
|
||||||
pandora.UI.set('videoTimeline', data.timeline);
|
pandora.UI.set('videoTimeline', data.timeline);
|
||||||
},
|
},
|
||||||
|
toggleannotations: function(data) {
|
||||||
|
pandora.UI.set('showAnnotations', data.showAnnotations);
|
||||||
|
},
|
||||||
togglecalendar: function(data) {
|
togglecalendar: function(data) {
|
||||||
pandora.UI.set('showAnnotationsCalendar', !data.collapsed);
|
pandora.UI.set('showAnnotationsCalendar', !data.collapsed);
|
||||||
},
|
},
|
||||||
|
togglelayer: function(data) {
|
||||||
|
pandora.UI.set('showLayers.' + data.layer, !data.collapsed);
|
||||||
|
},
|
||||||
togglemap: function(data) {
|
togglemap: function(data) {
|
||||||
pandora.UI.set('showAnnotationsMap', !data.collapsed);
|
pandora.UI.set('showAnnotationsMap', !data.collapsed);
|
||||||
},
|
},
|
||||||
togglesize: function(data) {
|
togglesize: function(data) {
|
||||||
pandora.UI.set({videoSize: data.size});
|
pandora.UI.set({videoSize: data.size});
|
||||||
},
|
},
|
||||||
toggleannotations: function(data) {
|
|
||||||
pandora.UI.set('showAnnotations', data.showAnnotations);
|
|
||||||
},
|
|
||||||
togglelayer: function(data) {
|
|
||||||
pandora.UI.set('showLayers.' + data.layer, !data.collapsed);
|
|
||||||
},
|
|
||||||
pandora_showannotations: function(data) {
|
pandora_showannotations: function(data) {
|
||||||
that.options({showAnnotations: data.value});
|
that.options({showAnnotations: data.value});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue