From 178a57096360c77e87f6a20e2d282b99a28a4e9c Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Mon, 16 Jul 2012 17:30:35 +0000 Subject: fix #416 --- framework/Web/Services/TJsonService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/Web/Services/TJsonService.php b/framework/Web/Services/TJsonService.php index b3dd795f..dc49ff6f 100644 --- a/framework/Web/Services/TJsonService.php +++ b/framework/Web/Services/TJsonService.php @@ -154,7 +154,7 @@ class TJsonService extends TService if(($content=$service->getJsonContent())!==null) { $response = $this->getResponse(); - $response->setContentType('text/javascript'); + $response->setContentType('application/json'); $response->setCharset('UTF-8'); //send content $response->write(TJavaScript::jsonEncode($content)); -- cgit v1.2.3