[Chameleon-dev] [Bug 954] New: RemoveLayer,
LayerOrder: javascript check on active layer
bugzilla-daemon at maptools.org
bugzilla-daemon at maptools.org
Wed Feb 9 09:01:00 EST 2005
http://www.maptools.org/bugzilla/show_bug.cgi?id=954
Summary: RemoveLayer, LayerOrder: javascript check on active
layer
Product: Chameleon
Version: 2.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: Widget
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: bartvde at xs4all.nl
It would be a good and small enhancement to have a javascript client-side check
for the RemoveLayer and LayerOrder widget on whether or not a layer has been
selected. This will save the user some submits ...
Something like
if ({$this->mszHTMLForm}.SELECTED_LAYERS == null ||
{$this->mszHTMLForm}.SELECTED_LAYERS.value == null ||
{$this->mszHTMLForm}.SELECTED_LAYERS.value == "" )
{
alert( "No layer selected." );
return;
}
------- 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