mirror of
https://github.com/e107inc/e107.git
synced 2025-04-16 10:32:08 +02:00
fix - script tag not needed with js manager
This commit is contained in:
parent
1051c9d3e8
commit
dbcc00b434
@ -736,12 +736,12 @@ function delete_file($fname, $dir = 'avatars/')
|
||||
function headerjs()
|
||||
{
|
||||
//global $cal;
|
||||
$script = "<script type=\"text/javascript\">
|
||||
$script = "
|
||||
function addtext_us(sc)
|
||||
{
|
||||
document.getElementById('dataform').image.value = sc;
|
||||
}
|
||||
</script>\n";
|
||||
";
|
||||
|
||||
//$script .= $cal->load_files();
|
||||
return $script;
|
||||
|
Loading…
x
Reference in New Issue
Block a user