camptocamp/cgxp — pull request #97 by asaunier (2012-05-18 13:56:26+00:00)
Title: FeaturesWindow: fix feature id setting when feature comes from a baselayer

As for now, the new FeaturesWindow plugin assumes that the features it must display are related to overlays. However with CGXP WMTS layers may be queried as well (using the WFSGetFeature plugin).

This pull request prevents the plugin from crashing when features do not come from themes layers. Formerly the following error occured:
```Cannot read property 'identifierAttribute' of undefined (FeaturesWindow.js:218)```