agent-virtualize VoIP rates, RT#29183
[freeside.git] / httemplate / elements / selectlayers.html
index dd279bd..cb1d2d6 100644 (file)
@@ -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,