forked from 0x2620/pandora
uploadDialog -> uploadVideoDialog
This commit is contained in:
parent
db201a8933
commit
4195c3baeb
4 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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') {
|
||||
|
|
|
@ -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,
|
Loading…
Reference in a new issue