Ajax fix for Firefox, it isn't XML.

This commit is contained in:
ciembor 2013-01-16 19:37:42 +01:00 committed by ridiculousfish
parent 6416cb45fb
commit 406c8a6d1e

View File

@ -404,6 +404,7 @@ function run_get_request_with_bulk_handler(url, handler) {
$.ajax({
type: "GET",
url: url,
dataType: "text",
success: function(data){
$('#global_error').text('')
handler($.parseJSON(data))
@ -426,6 +427,7 @@ function run_post_request(url, data_map, handler) {
$.ajax({
type: "POST",
url: url,
dataType: "text",
data: data_map,
success: function(data){
$('#global_error').text('')