From: defacer Date: Mon, 23 Aug 2004 08:34:51 +0000 (+0000) Subject: Attention to detail: this prevents generating a warning if $focus is not set. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=15a94ad9206a76dba3e293b1126810824a615af3;p=moodle.git Attention to detail: this prevents generating a warning if $focus is not set. Of course, the warning is hidden inside JS and thus invisible to the naked eye. --- diff --git a/lib/javascript.php b/lib/javascript.php index 22fbf70eab..31055f0903 100644 --- a/lib/javascript.php +++ b/lib/javascript.php @@ -92,7 +92,7 @@ function unlockoption(form,item) { eval("document."+form+".h"+item+".value=0"); } - + // done hiding -->