mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 10:43:32 +08:00
Ajax fix for Firefox, it isn't XML.
This commit is contained in:
parent
6416cb45fb
commit
406c8a6d1e
|
@ -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('')
|
||||
|
|
Loading…
Reference in New Issue
Block a user