diff options
author | ctrlaltca <> | 2012-07-16 17:30:35 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-16 17:30:35 +0000 |
commit | 178a57096360c77e87f6a20e2d282b99a28a4e9c (patch) | |
tree | 746da711f99c3634402f1053ca60cd0286908c40 /framework/Web/Services/TJsonService.php | |
parent | 40ad9f8c7964355f56f73fa0c4c5db40750bc023 (diff) |
fix #416
Diffstat (limited to 'framework/Web/Services/TJsonService.php')
-rw-r--r-- | framework/Web/Services/TJsonService.php | 2 |
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)); |