forked from 0x2620/pandora
add player only embed view for edits
This commit is contained in:
parent
b894735fbd
commit
9c4b31c453
2 changed files with 74 additions and 5 deletions
|
|
@ -9,7 +9,9 @@ pandora.ui.embedPanel = function() {
|
|||
view = !ui.item ? ui.listView : ui.itemView;
|
||||
|
||||
if (ui.section != 'texts' && !ui.page) {
|
||||
if (!ui.item) {
|
||||
if (ui.section == 'edits') {
|
||||
that = pandora.ui.editPanel(true);
|
||||
} else if (!ui.item) {
|
||||
if (view == 'grid') {
|
||||
that = pandora.ui.embedGrid();
|
||||
} else if (view == 'clip') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue