use embedGrid

This commit is contained in:
rolux 2014-01-23 14:36:45 +00:00
parent be21e64f59
commit ec652cc06e

View file

@ -10,7 +10,9 @@ pandora.ui.embedPanel = function() {
if (ui.section != 'texts' && !ui.page) { if (ui.section != 'texts' && !ui.page) {
if (!ui.item) { if (!ui.item) {
if (Ox.contains(['grid', 'clip'], view)) { if (view == 'grid') {
that = pandora.ui.embedGrid();
} else if (view == 'clip') {
that = pandora.ui.embedError(true); that = pandora.ui.embedError(true);
} else if (view == 'video') { } else if (view == 'video') {
that = pandora.ui.videoView(true); that = pandora.ui.videoView(true);