uploadDialog -> uploadVideoDialog

This commit is contained in:
rolux 2013-08-06 09:00:45 +00:00
parent db201a8933
commit 4195c3baeb
4 changed files with 4 additions and 4 deletions

View file

@ -80,7 +80,7 @@ pandora.ui.allItems = function(section) {
.hide()
.bindEvent({
click: function() {
pandora.$ui.uploadDialog = pandora.ui.uploadDialog().open();
pandora.$ui.uploadVideoDialog = pandora.ui.uploadVideoDialog().open();
}
})
.appendTo(that);

View file

@ -84,7 +84,7 @@ pandora.ui.infoView = function(data) {
} else if (data_.id == 'metadata') {
pandora.$ui.metadataDialog = pandora.ui.metadataDialog(data).open();
} else if (data_.id == 'upload') {
pandora.$ui.uploadDialog = pandora.ui.uploadDialog(data).open();
pandora.$ui.uploadVideoDialog = pandora.ui.uploadVideoDialog(data).open();
} else if (data_.id == 'delete') {
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open();
}

View file

@ -349,7 +349,7 @@ pandora.ui.mainMenu = function() {
} else if (data.id == 'add') {
pandora.addItem();
} else if (data.id == 'upload') {
pandora.$ui.uploadDialog = pandora.ui.uploadDialog().open();
pandora.$ui.uploadVideoDialog = pandora.ui.uploadVideoDialog().open();
} else if (data.id == 'deletelist') {
pandora.ui.deleteListDialog().open();
} else if (data.id == 'print') {

View file

@ -1,7 +1,7 @@
// vim: et:ts=4:sw=4:sts=4:ft=javascript
'use strict';
pandora.ui.uploadDialog = function(data) {
pandora.ui.uploadVideoDialog = function(data) {
var cancelled = false,
file,