mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
dont write js-functions only if it is tested that js is disabled
This commit is contained in:
parent
3668f6e6dd
commit
161ff221e3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user