diff options
Diffstat (limited to 'timelinejs.module')
-rw-r--r-- | timelinejs.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/timelinejs.module b/timelinejs.module index f8af966..0391a7a 100644 --- a/timelinejs.module +++ b/timelinejs.module @@ -168,6 +168,7 @@ function timelinejs_fetch_items($nid, $format = 'json') { * Menu callback. */ function timelinejs_json($nid) { + header('Content-type: application/json; charset=utf-8', true); print theme('timelinejs_json', timelinejs_fetch_items($nid)); // Avoid themable output. |