aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools/web_config
diff options
context:
space:
mode:
authorGravatar ciembor <pub@ciemborowicz.pl>2013-01-16 19:37:42 +0100
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-16 14:45:59 -0800
commit406c8a6d1e4ba5bc1a8ca8876cf00ce459d4049a (patch)
tree4d194f8bec369e46b61d0795881aca6611b994eb /share/tools/web_config
parent6416cb45fb054cd68b68de03a0e8da059fbff17a (diff)
Ajax fix for Firefox, it isn't XML.
Diffstat (limited to 'share/tools/web_config')
-rw-r--r--share/tools/web_config/index.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/tools/web_config/index.html b/share/tools/web_config/index.html
index 8b9c6132..c33be91a 100644
--- a/share/tools/web_config/index.html
+++ b/share/tools/web_config/index.html
@@ -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('')