mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-03 11:51:15 -03:00
Ajax fix for Firefox, it isn't XML.
This commit is contained in:
@@ -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('')
|
||||
|
||||
Reference in New Issue
Block a user