dont write js-functions only if it is tested that js is disabled

This commit is contained in:
Ralf Becker 2002-09-24 22:34:21 +00:00
parent 3668f6e6dd
commit 161ff221e3

View File

@ -862,8 +862,8 @@ document.write(\''.str_replace("\n",'',$this->html->input_hidden('java_script','
';
}
// here are going all the necesarry functions if javascript is definitve enabled
if ($this->java_script(False))
// here are going all the necesarry functions if javascript is enabled
if ($this->java_script(True))
{
$js .= '<script language="JavaScript">
function set_element(form,name,value)