Code

Removed GOsa_toggle method
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 14:07:25 +0000 (14:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 1 Feb 2010 14:07:25 +0000 (14:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15549 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/personal/environment/environment.tpl

index a2cb4f06b819e69e1140064347ab2bd60bd4fcc1..b2907d08aebb26eb1c3b73bf187ec2d45e250266 100644 (file)
 
    <h2>
        <input type="checkbox" name="use_gotoPrinter" value="1" {if $use_gotoPrinter} checked {/if}
-               class="center" onClick="GOsa_toggle('div_gotoPrinter');">
+               class="center" onClick="$('div_gotoPrinter').toggle();">
     <img alt="" src="plugins/systems/images/select_printer.png" align="middle" class="center" />&nbsp;
     <label for="gotoPrinter">{t}Printer{/t}</label>
    </h2>
 
-   <div id="div_gotoPrinter" {if !$use_gotoPrinter} style="visibility:hidden;" {/if}>
+   <div id="div_gotoPrinter" {if !$use_gotoPrinter} style="display: none;" {/if}>
        <b>{t}Using this option will overwrite the complete printer settings for all currently edited objects!{/t}</b>
    <table style="width:100%" summary="{t}Printer settings{/t}">
     <tr>