Skip to content
Browse files

Increase ajax timeout in timetable interface

  • Loading branch information...
1 parent 3f44868 commit a9872a1db93260aa2af2d5a71e1241c3913a14d4 @Envek Envek committed
View
2 app/assets/javascripts/timetable/group.js.erb
@@ -19,7 +19,7 @@ jQuery(document).ready(function($) {
url: "/timetable/groups.json",
data: {group: $(this).val()},
dataType: 'json',
- timeout: 10000,
+ timeout: 15000,
beforeSend: function (jqXHR, settings) {
$(".ajax_message").hide();
$(".ajax_loading").show();
View
2 app/assets/javascripts/timetable/lecturer.js.erb
@@ -15,7 +15,7 @@ jQuery(document).ready(function($) {
url: "/timetable/lecturers.json",
data: {lecturer: $(this).val()},
dataType: 'json',
- timeout: 10000,
+ timeout: 15000,
beforeSend: function (jqXHR, settings) {
$(".ajax_message").hide();
$(".ajax_loading").show();

0 comments on commit a9872a1

Please sign in to comment.
Something went wrong with that request. Please try again.