Skip to content

Commit

Permalink
Set ajax timeout to 30s
Browse files Browse the repository at this point in the history
  • Loading branch information
coreation committed Nov 26, 2017
1 parent 775a24d commit 52efb53
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dev/js/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ $('.btn-add-dataset').on('click', function(e){
}
});
},
timeout: 10000
timeout: 30000
});
}

Expand Down Expand Up @@ -290,7 +290,7 @@ $('.btn-add-dataset').on('click', function(e){
}
});
},
timeout: 10000
timeout: 30000
});
}
});
Expand Down Expand Up @@ -388,7 +388,7 @@ $('.btn-edit-dataset').on('click', function(e){
}
});
},
timeout: 10000
timeout: 30000
});
} else if(form.find("#fileupload").length == 0 || form.find("#fileupload")[0].files.length == 0 ){
// Ajax call: no file selected
Expand Down Expand Up @@ -461,7 +461,7 @@ $('.btn-edit-dataset').on('click', function(e){
}
});
},
timeout: 10000
timeout: 30000
});
}

Expand Down

0 comments on commit 52efb53

Please sign in to comment.