diff options
author | wei <> | 2006-10-06 03:46:05 +0000 |
---|---|---|
committer | wei <> | 2006-10-06 03:46:05 +0000 |
commit | fe60cc221f922ea362826e2d00431c5df28fe85f (patch) | |
tree | 9c0449718a862a5b51d62c4ac9697db15c13863f /framework/Web/UI/WebControls/TJavascriptLogger.php | |
parent | 9fee2935d91e92235b068632d3608c748ef41bfe (diff) |
fixed #410 #412
Diffstat (limited to 'framework/Web/UI/WebControls/TJavascriptLogger.php')
-rw-r--r-- | framework/Web/UI/WebControls/TJavascriptLogger.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TJavascriptLogger.php b/framework/Web/UI/WebControls/TJavascriptLogger.php index 3a294b6b..a873d8d8 100644 --- a/framework/Web/UI/WebControls/TJavascriptLogger.php +++ b/framework/Web/UI/WebControls/TJavascriptLogger.php @@ -57,8 +57,9 @@ class TJavascriptLogger extends TWebControl public function renderContents($writer)
{
$info = '(<a href="http://gleepglop.com/javascripts/logger/" target="_blank">more info</a>).';
- $usage = 'Press ALT-D (Or CTRL-D on OS X) to toggle the javascript log console';
- $writer->write("{$usage} {$info}");
+ $link = '<a href="javascript:if(logConsole)logConsole.toggle()">toggle the javascript log console.</a>';
+ $usage = 'Press ALT-D (Or CTRL-D on OS X) to';
+ $writer->write("{$usage} {$link} {$info}");
}
}
|