Fixing fatal error in php4

This commit is contained in:
mark_story 2009-08-03 14:42:33 -04:00
parent 83a705f739
commit d69772952c

View file

@ -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));
}
/**