fix adding video to current item
This commit is contained in:
parent
19141fe96d
commit
896b57810a
2 changed files with 104 additions and 57 deletions
|
|
@ -5,7 +5,8 @@ pandora.ui.addItemDialog = function(options) {
|
|||
|
||||
var input = '';
|
||||
|
||||
var selected = options.selected ? options.selected : 'upload';
|
||||
var selected = options.selected ? options.selected
|
||||
: !pandora.site.itemRequiresVideo && !pandora.user.ui.item ? 'add' : 'upload';
|
||||
|
||||
var $button;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue