From ab5a251cde9abac9038e9652089b2a32bbff5d05 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 20 Dec 2007 01:37:06 +0000 Subject: revert the previous change. --- framework/Web/Javascripts/TJavaScript.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/Javascripts') diff --git a/framework/Web/Javascripts/TJavaScript.php b/framework/Web/Javascripts/TJavaScript.php index 17a8f39c..228dc88f 100644 --- a/framework/Web/Javascripts/TJavaScript.php +++ b/framework/Web/Javascripts/TJavaScript.php @@ -158,7 +158,7 @@ class TJavaScript { foreach($value as $k=>$v) if($v!=='') - $results[]=(is_string($k)?"'{$k}':":'').self::encode($v,$toMap); + $results[]="'{$k}':".self::encode($v,$toMap); return '{'.implode(',',$results).'}'; } else -- cgit v1.2.3