add player only embed view for edits

This commit is contained in:
j 2014-02-09 08:07:33 +00:00
commit 9c4b31c453
2 changed files with 74 additions and 5 deletions

View file

@ -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') {