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';
|
||||
|
||||
pandora.ui.editor = function(data) {
|
||||
|
||||
var ui = pandora.user.ui,
|
||||
|
||||
that = Ox.VideoAnnotationPanel({
|
||||
|
@ -170,7 +171,7 @@ pandora.ui.editor = function(data) {
|
|||
pandora.$ui.embedVideoDialog = pandora.ui.embedVideoDialog().open();
|
||||
},
|
||||
exportannotations: function() {
|
||||
// ...
|
||||
pandora.$ui.exportAnnotationsDialog = pandora.ui.exportAnnotationsDialog().open();
|
||||
},
|
||||
find: function(data) {
|
||||
pandora.UI.set({itemFind: data.find});
|
||||
|
@ -188,8 +189,8 @@ pandora.ui.editor = function(data) {
|
|||
gainfocus: function() {
|
||||
pandora.$ui.mainMenu.replaceItemMenu();
|
||||
},
|
||||
importannotations: function(data) {
|
||||
pandora.ui.importAnnotationsDialog().open();
|
||||
importannotations: function() {
|
||||
pandora.$ui.importAnnotationsDialog = pandora.ui.importAnnotationsDialog(data.duration).open();
|
||||
},
|
||||
info: function(data) {
|
||||
pandora.ui.annotationDialog(
|
||||
|
@ -303,6 +304,7 @@ pandora.ui.editor = function(data) {
|
|||
that.options({timeline: data.value});
|
||||
}
|
||||
});
|
||||
|
||||
pandora._dontSelectResult = false;
|
||||
|
||||
function updateBrowser() {
|
||||
|
|
Loading…
Reference in a new issue