fixed undeclared javascript variables
This commit is contained in:
@@ -11,6 +11,7 @@ $Source$
|
||||
- check config file also on wakeup (bug #1376522)
|
||||
* libraries/Config.class.php, libraries/common.lib.php:
|
||||
fixed handling of https and $cfg['ForceSSL'] (bug #1379491)
|
||||
* left.php: fixed undeclared javascript variables
|
||||
|
||||
2005-12-14 Michal Čihař <michal@cihar.com>
|
||||
* libraries/config.default.php, Documentation.html: Transliterate invalid
|
||||
|
4
left.php
4
left.php
@@ -79,12 +79,12 @@ echo "<?xml version=\"1.0\" encoding=\"" . $GLOBALS['charset'] . "\"?".">";
|
||||
<script type="text/javascript" language="javascript">
|
||||
//<![CDATA[
|
||||
function toggle( id, only_open ) {
|
||||
el = document.getElementById('subel' + id);
|
||||
var el = document.getElementById('subel' + id);
|
||||
if ( ! el ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
img = document.getElementById('el' + id + 'Img');
|
||||
var img = document.getElementById('el' + id + 'Img');
|
||||
|
||||
if ( el.style.display == 'none' || only_open ) {
|
||||
el.style.display = '';
|
||||
|
Reference in New Issue
Block a user