aodn / aodn-portal

AODN Open Geospatial Portal
https://portal.aodn.org.au/
GNU General Public License v3.0
21 stars 14 forks source link

Details Panel Does Not Update Contents When Active Layer is Removed From Map #91

Closed tojofo closed 11 years ago

tojofo commented 11 years ago

Steps To Repeat Add a layer for example AATAMS, to the map and ensure that the details panel is visible Add another layer e.g. Argo Floats to the map Click the remove layer button (little red x) for the current active layer, it should be the most recently added one.

What I Expect To Happen The details panel to update with information with the first layer in the list, in this example AATAMS

What Actually Happens The details panel is not updated and the information of the removed layer remains as its content, in this example Argo Floats

akashisama commented 11 years ago

Couldn't manage to write tests for this, but calling it done and ready for review. If someone else wants to write tests just come talk to me and I'll show you where I got to.

pmbohm commented 11 years ago

works well