summaryrefslogtreecommitdiff
path: root/httemplate/elements/selectlayers.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/selectlayers.html')
-rw-r--r--httemplate/elements/selectlayers.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/selectlayers.html b/httemplate/elements/selectlayers.html
index dd279bd16..cb1d2d619 100644
--- a/httemplate/elements/selectlayers.html
+++ b/httemplate/elements/selectlayers.html
@@ -146,7 +146,7 @@ Example:
<DIV ID="<% $key %>d<% $layer %>"
STYLE="<% $selected_layer eq $layer
- ? 'display: "" ; z-index: 1'
+ ? 'display: block; z-index: 1'
: 'display: none; z-index: 0'
%>"
>
@@ -236,7 +236,7 @@ sub layer_callback {
$date_noinit = 1;
}
else {
- $include = "input-$include" if $include =~ /^(text|money)$/;
+ $include = "input-$include" if $include =~ /^(text|money|percentage)$/;
$include = "tr-$include" unless $include eq 'hidden';
$html .= include( "/elements/$include.html",
%$lf,