Define dataType so that jQuery do not have to guess

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-05-11 10:55:45 +02:00
parent d344a8f7ae
commit d88ebebc89

View File

@ -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);