rename, hookup import dialog

This commit is contained in:
j 2012-02-14 19:06:25 +00:00
parent 4c1ab4b406
commit d965eb4624
2 changed files with 5 additions and 2 deletions

View file

@ -1,7 +1,7 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.ui.importSubtitles = function(data) {
pandora.ui.importAnnotations = function(data) {
var content = Ox.Element().css({margin: '16px'}),
file,
height = 240,
@ -26,7 +26,7 @@ pandora.ui.importSubtitles = function(data) {
height: height,
removeOnClose: true,
width: width,
title: 'Import Subtitles',
title: 'Import Annotations',
})
.bindEvent({
close: function(data) {

View file

@ -368,6 +368,9 @@ pandora.ui.item = function() {
find: function(data) {
pandora.UI.set('itemFind', data.find);
},
importannotations: function(data) {
pandora.ui.importAnnotations().open();
},
info: function(data) {
pandora.ui.annotationDialog(data.layer).open();
},