[Chameleon-dev] [Bug 953] New: RemoveLayer widget: does not reset SELECTED_LAYERS variable

bugzilla-daemon at maptools.org bugzilla-daemon at maptools.org
Wed Feb 9 08:52:40 EST 2005


http://www.maptools.org/bugzilla/show_bug.cgi?id=953

           Summary: RemoveLayer widget: does not reset SELECTED_LAYERS
                    variable
           Product: Chameleon
           Version: 2.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Widget
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at xs4all.nl


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;



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list