From d88ebebc89a160d710cc8e79cb882801ac67c34c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 11 May 2016 10:55:45 +0200 Subject: [PATCH] Define dataType so that jQuery do not have to guess MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- js/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/config.js b/js/config.js index 3fcc95957a..6630dd6c7c 100644 --- a/js/config.js +++ b/js/config.js @@ -852,7 +852,7 @@ function offerPrefsAutoimport() $.post('index.php', { token: $cnt.find('input[name=token]').val(), prefs_autoload: 'hide' - }); + }, null, 'html'); return; } $cnt.find('input[name=json]').val(window.localStorage.config);