Browse files

Fixing fatal error in php4

  • Loading branch information...
1 parent 83a705f commit d69772952c742f762ead8d787238a5bf501c7b39 @markstory markstory committed Aug 3, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 cake/libs/view/helpers/jquery_engine.php
View
3 cake/libs/view/helpers/jquery_engine.php
@@ -178,7 +178,8 @@ function event($type, $callback, $options = array()) {
* @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));
}
/**

0 comments on commit d697729

Please sign in to comment.