From de630e4134484cea82fd0a1864a45db3bd9974bc Mon Sep 17 00:00:00 2001
From: wei <>
Date: Fri, 6 Oct 2006 03:44:07 +0000
Subject: update js logger and make TComponent::ensureEnum show available
values during exception.
---
framework/Web/UI/WebControls/TJavascriptLogger.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'framework/Web/UI/WebControls/TJavascriptLogger.php')
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 = '(more info).';
- $usage = 'Press ALT-D (Or CTRL-D on OS X) to toggle the javascript log console';
- $writer->write("{$usage} {$info}");
+ $link = 'toggle the javascript log console.';
+ $usage = 'Press ALT-D (Or CTRL-D on OS X) to';
+ $writer->write("{$usage} {$link} {$info}");
}
}
--
cgit v1.2.3