mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Forcing cached script output to be written inline (JavascriptHelper)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4548 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
163e820188
commit
552e6850c3
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ class JavascriptHelper extends AppHelper {
|
||||||
}
|
}
|
||||||
$out = $this->link($filename);
|
$out = $this->link($filename);
|
||||||
} else {
|
} else {
|
||||||
$out = $this->codeBlock("\n" . $data . "\n");
|
$out = $this->codeBlock("\n" . $data . "\n", true);
|
||||||
}
|
}
|
||||||
if ($inline) {
|
if ($inline) {
|
||||||
return $out;
|
return $out;
|
||||||
|
|
Loading…
Reference in a new issue