diff options
author | ctrlaltca <ctrlaltca@gmail.com> | 2013-11-26 03:01:40 -0800 |
---|---|---|
committer | ctrlaltca <ctrlaltca@gmail.com> | 2013-11-26 03:01:40 -0800 |
commit | a4e4839d9f09d27b6f0cba92fad0231632b3a04d (patch) | |
tree | 2a2f353f2f7b0fd6cde035068a2036ab630f688b /framework/Web/UI/WebControls/TJavascriptLogger.php | |
parent | 2b11341614ac4a15be697fa8acad07055154ac54 (diff) | |
parent | 65adcbec2cc9a00a5b0611e34c7141bf4e6d63f7 (diff) |
Merge pull request #491 from pradosoft/jquery
Main development switch to Jquery
Diffstat (limited to 'framework/Web/UI/WebControls/TJavascriptLogger.php')
-rw-r--r-- | framework/Web/UI/WebControls/TJavascriptLogger.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TJavascriptLogger.php b/framework/Web/UI/WebControls/TJavascriptLogger.php index a2f1c1c2..2af8bda6 100644 --- a/framework/Web/UI/WebControls/TJavascriptLogger.php +++ b/framework/Web/UI/WebControls/TJavascriptLogger.php @@ -70,7 +70,7 @@ class TJavascriptLogger extends TWebControl { $key = strtolower($this->getToggleKey()); $code = isset(self::$_keyCodes[$key]) ? self::$_keyCodes[$key] : 74; - $js = "var logConsole; Event.OnLoad(function() { logConsole = new LogConsole($code)}); "; + $js = "var logConsole; jQuery(function() { logConsole = new LogConsole($code)}); "; $cs = $this->getPage()->getClientScript(); $cs->registerBeginScript($this->getClientID(),$js); $cs->registerPradoScript('logger'); |