Code

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

gosa-core/plugins/admin/groups/generic.tpl

index 544e8d3810e1b937e9c19e2b9059ceadf9a1c16e..8e2894686b75aaae567137e8bd5d00492d86bd72 100644 (file)
        <tr>
         <td colspan="2">
     <input type="checkbox" name="use_trustmode" {if $use_trustmode} checked {/if}
-        class="center" onClick="GOsa_toggle('div_trustmode');">
+        class="center" onClick="$('div_trustmode').toggle();">
                    {t}Trust mode{/t}&nbsp;
-       <div {if !$use_trustmode} style="visibility:hidden;" {/if} id="div_trustmode">
+       <div {if !$use_trustmode} style="display: none;" {/if} id="div_trustmode">
     {render acl=$trustmodeACL}
         <select name="trustmode" id="trustmode" size=1
             onChange="changeSelectState('trustmode', 'wslist');