mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 02:18:28 +02: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
|
// here are going all the necesarry functions if javascript is enabled
|
||||||
if ($this->java_script(False))
|
if ($this->java_script(True))
|
||||||
{
|
{
|
||||||
$js .= '<script language="JavaScript">
|
$js .= '<script language="JavaScript">
|
||||||
function set_element(form,name,value)
|
function set_element(form,name,value)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user