Bug 953

Summary: RemoveLayer widget: does not reset SELECTED_LAYERS variable
Product: Chameleon Reporter: Bart van den Eijnden <bartvde@osgis.nl>
Component: WidgetAssignee: Bart van den Eijnden <bartvde@osgis.nl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description From 2005-02-09 08:52:38
The RemoveLayer widget works with the SELECTED_LAYERS form variable, and deletes
this layer/these layers.

But after the execution it does not reset the form variable, which still has the
old value so the client thinks (at the javascript side) that there is still an
active layer.

Proposed fix to the ParseURL function:

..
			}
			$this->setVar('SELECTED_LAYERS', "");
		}
		return true;
------- Comment #1 From 2005-05-27 08:15:20 -------
It's a minor bug fix so I can do this before 2.2.
------- Comment #2 From 2005-05-27 16:08:50 -------
Fixed in both head and 2.0.X.