Delete windows.onload and added $(function ()..
authorSiora <siora@web-produktion.com>
Thu, 5 Apr 2012 10:14:43 +0000 (12:14 +0200)
committerSiora <siora@web-produktion.com>
Thu, 5 Apr 2012 10:14:43 +0000 (12:14 +0200)
acptemplates/languageMultilingualism.tpl

index f90fc20516717b9740c7850ef055d4fb318de72b..7c1c2bb5d9ce3151e6c535fa03acbce834964715 100644 (file)
@@ -3,9 +3,9 @@
 <script type="text/javascript">
        //<![CDATA[
        {if $enable == 0}
-               window.onload = function(){
+               $(function () {
                        $('#languageIDs').hide();
-               }
+               });
        {/if}
        //]]>
 </script>