get layer type

This commit is contained in:
j 2011-01-28 08:54:14 +00:00
parent 4b217968d9
commit 1880da27c6

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,