diff --git a/static/js/pandora.js b/static/js/pandora.js index fdf91bb4..62f97bd2 100755 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -667,7 +667,9 @@ var pandora = new Ox.App({ format: key.format, id: key.id, title: key.title, - type: key.type + type: key.type == 'layer' ? Ox.getObjectById( + app.config.layers, key.id + ).type : key.type }; }), sortKeys: app.ui.sortKeys,