Bug 931

Summary: [Chameleon - Widget] SelectLayers failure
Product: Chameleon Reporter: Paul Spencer <pspencer@dmsolutions.ca>
Component: WidgetAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description From 2005-01-18 20:50:11
Hi list,

The reason the "selected" thing didn't work, was a typo bug in file
SelectLayers.widget.php at line 215 (of the Chameleon-2.0 version). The variable
name should be $bHasSelection instead of $bHasSelected.

Greetings,
John.

John Pulles wrote:

> Hi list,
>
> I've been doing some struggling with setting the default layer NOT equal to
layer 0. It seems to me that this must be possible without tampering the code.
However, setting metadata parameter "selected" to "1" for the specific layer
does not help. I'm using Chameleon 1.99beta2.
>
> Regards,
> John Pulles.
------- Comment #1 From 2005-01-18 20:53:55 -------
fixed in CVS for both 2.0 and 2.1