mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing fatal error in php4
This commit is contained in:
parent
83a705f739
commit
d69772952c
1 changed files with 2 additions and 1 deletions
|
@ -178,7 +178,8 @@ class JqueryEngineHelper extends JsBaseEngineHelper {
|
|||
* @return string completed domReady method
|
||||
**/
|
||||
function domReady($functionBody) {
|
||||
return $this->get('document')->event('ready', $functionBody, array('stop' => false));
|
||||
$this->get('document');
|
||||
return $this->event('ready', $functionBody, array('stop' => false));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue