pass item duration to import annotations dialog
This commit is contained in:
parent
2950e1e715
commit
9408a5f986
1 changed files with 5 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
pandora.ui.editor = function(data) {
|
pandora.ui.editor = function(data) {
|
||||||
|
|
||||||
var ui = pandora.user.ui,
|
var ui = pandora.user.ui,
|
||||||
|
|
||||||
that = Ox.VideoAnnotationPanel({
|
that = Ox.VideoAnnotationPanel({
|
||||||
|
@ -170,7 +171,7 @@ pandora.ui.editor = function(data) {
|
||||||
pandora.$ui.embedVideoDialog = pandora.ui.embedVideoDialog().open();
|
pandora.$ui.embedVideoDialog = pandora.ui.embedVideoDialog().open();
|
||||||
},
|
},
|
||||||
exportannotations: function() {
|
exportannotations: function() {
|
||||||
// ...
|
pandora.$ui.exportAnnotationsDialog = pandora.ui.exportAnnotationsDialog().open();
|
||||||
},
|
},
|
||||||
find: function(data) {
|
find: function(data) {
|
||||||
pandora.UI.set({itemFind: data.find});
|
pandora.UI.set({itemFind: data.find});
|
||||||
|
@ -188,8 +189,8 @@ pandora.ui.editor = function(data) {
|
||||||
gainfocus: function() {
|
gainfocus: function() {
|
||||||
pandora.$ui.mainMenu.replaceItemMenu();
|
pandora.$ui.mainMenu.replaceItemMenu();
|
||||||
},
|
},
|
||||||
importannotations: function(data) {
|
importannotations: function() {
|
||||||
pandora.ui.importAnnotationsDialog().open();
|
pandora.$ui.importAnnotationsDialog = pandora.ui.importAnnotationsDialog(data.duration).open();
|
||||||
},
|
},
|
||||||
info: function(data) {
|
info: function(data) {
|
||||||
pandora.ui.annotationDialog(
|
pandora.ui.annotationDialog(
|
||||||
|
@ -303,6 +304,7 @@ pandora.ui.editor = function(data) {
|
||||||
that.options({timeline: data.value});
|
that.options({timeline: data.value});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
pandora._dontSelectResult = false;
|
pandora._dontSelectResult = false;
|
||||||
|
|
||||||
function updateBrowser() {
|
function updateBrowser() {
|
||||||
|
|
Loading…
Reference in a new issue