forked from 0x2620/pandora
editor: pass item title to annotations export dialog
This commit is contained in:
parent
8dc036bae3
commit
32733bdefa
1 changed files with 6 additions and 1 deletions
|
@ -172,7 +172,12 @@ pandora.ui.editor = function(data) {
|
|||
pandora.$ui.embedVideoDialog = pandora.ui.embedVideoDialog().open();
|
||||
},
|
||||
exportannotations: function() {
|
||||
pandora.$ui.exportAnnotationsDialog = pandora.ui.exportAnnotationsDialog().open();
|
||||
pandora.api.get({
|
||||
id: ui.item,
|
||||
keys: ['title']
|
||||
}, function(result) {
|
||||
pandora.$ui.exportAnnotationsDialog = pandora.ui.exportAnnotationsDialog({title: result.data.title}).open();
|
||||
})
|
||||
},
|
||||
find: function(data) {
|
||||
pandora.UI.set({itemFind: data.find});
|
||||
|
|
Loading…
Reference in a new issue