From: hickert Date: Tue, 28 Feb 2006 09:48:50 +0000 (+0000) Subject: Fixed some chagneState / setHidden errors X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2be3945e42eb7f15ece5f79f512b764aa03d5124;p=gosa.git Fixed some chagneState / setHidden errors git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2762 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/include/focus.js b/html/include/focus.js index 1f226af15..0e3923713 100644 --- a/html/include/focus.js +++ b/html/include/focus.js @@ -88,7 +88,9 @@ function keyPress(DnEvents) { } function changeState(myField) { - document.getElementById(myField).disabled=(document.getElementById(myField).disabled)?false:true; + if(document.getElementById(myField) != null){ + document.getElementById(myField).disabled=(document.getElementById(myField).disabled)?false:true; + } } function setHidden(str) { diff --git a/plugins/admin/systems/network.tpl b/plugins/admin/systems/network.tpl index 7c67cbaa6..dd7f66931 100644 --- a/plugins/admin/systems/network.tpl +++ b/plugins/admin/systems/network.tpl @@ -15,7 +15,7 @@ {if $DNS_is_account==true} - +