summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/Services/TJsonService.php2
1 files changed, 1 insertions, 1 deletions
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));