From 4ca0e0694086e8d88220ccc1e32395ad2a6d709a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 28 Jan 2011 08:54:14 +0000 Subject: [PATCH] get layer type --- static/js/pandora.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index fdf91bb40..62f97bd25 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,