From 1880da27c6062516c4634f70acbf5378a72410ba 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 fdf91bb..62f97bd 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,