get layer type

This commit is contained in:
j 2011-01-28 08:54:14 +00:00
parent 93f504fa39
commit 4ca0e06940

View file

@ -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,