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()
|
.hide()
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
click: function() {
|
click: function() {
|
||||||
pandora.$ui.uploadDialog = pandora.ui.uploadDialog().open();
|
pandora.$ui.uploadVideoDialog = pandora.ui.uploadVideoDialog().open();
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.appendTo(that);
|
.appendTo(that);
|
||||||
|
|
|
@ -84,7 +84,7 @@ pandora.ui.infoView = function(data) {
|
||||||
} else if (data_.id == 'metadata') {
|
} else if (data_.id == 'metadata') {
|
||||||
pandora.$ui.metadataDialog = pandora.ui.metadataDialog(data).open();
|
pandora.$ui.metadataDialog = pandora.ui.metadataDialog(data).open();
|
||||||
} else if (data_.id == 'upload') {
|
} 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') {
|
} else if (data_.id == 'delete') {
|
||||||
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open();
|
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open();
|
||||||
}
|
}
|
||||||
|
|
|
@ -349,7 +349,7 @@ pandora.ui.mainMenu = function() {
|
||||||
} else if (data.id == 'add') {
|
} else if (data.id == 'add') {
|
||||||
pandora.addItem();
|
pandora.addItem();
|
||||||
} else if (data.id == 'upload') {
|
} else if (data.id == 'upload') {
|
||||||
pandora.$ui.uploadDialog = pandora.ui.uploadDialog().open();
|
pandora.$ui.uploadVideoDialog = pandora.ui.uploadVideoDialog().open();
|
||||||
} else if (data.id == 'deletelist') {
|
} else if (data.id == 'deletelist') {
|
||||||
pandora.ui.deleteListDialog().open();
|
pandora.ui.deleteListDialog().open();
|
||||||
} else if (data.id == 'print') {
|
} else if (data.id == 'print') {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
pandora.ui.uploadDialog = function(data) {
|
pandora.ui.uploadVideoDialog = function(data) {
|
||||||
|
|
||||||
var cancelled = false,
|
var cancelled = false,
|
||||||
file,
|
file,
|
Loading…
Reference in a new issue