From c3a7486930c30bbe76e7b5d5ce48ed2a56068d58 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Sat, 12 Oct 2013 09:48:13 -0500 Subject: [PATCH] fixed json contenttype in ajax_aditor.js, thanks Paolo --- VERSION | 2 +- applications/admin/static/js/ajax_editor.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 1137315f..cfc5246a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.7.3-stable+timestamp.2013.10.11.22.35.50 +Version 2.7.3-stable+timestamp.2013.10.12.09.46.51 diff --git a/applications/admin/static/js/ajax_editor.js b/applications/admin/static/js/ajax_editor.js index 38a47225..6cad1c24 100644 --- a/applications/admin/static/js/ajax_editor.js +++ b/applications/admin/static/js/ajax_editor.js @@ -249,6 +249,8 @@ function keepalive(url) { function load_file(url) { jQuery.ajax({ type: "GET", + contentType: 'application/json', + cache: false, dataType: 'json', url: url, timeout: 1000,