увеличил время переодичных запрсов в 100 раз

remotes/origin/pm_task_31703
Mikhail Bortnikov 9 years ago
parent c5dc14af82
commit a967ad5973
  1. 2
      static/js/all_comments.js
  2. 2
      static/js/apis/teacher_exam_comments.js
  3. 2
      static/js/apis/teacher_homework_comments.js
  4. 2
      static/js/apis/teacher_lesson_comments.js
  5. 2
      static/js/apis/teacher_refresh.js
  6. 2
      static/js/element_actions.js
  7. 2
      static/js/lesson.js

@ -276,6 +276,6 @@ $(function() {
setInterval(function(){ setInterval(function(){
get_lesson_comments_length(); get_lesson_comments_length();
} }
, 2000); , 200000);
load_process() load_process()
}); });

@ -245,5 +245,5 @@ $(function() {
get_lesson_comments_length(); get_lesson_comments_length();
} }
, 2000); , 200000);
}); });

@ -246,5 +246,5 @@ $(function() {
setInterval(function(){ setInterval(function(){
get_lesson_comments_length(); get_lesson_comments_length();
} }
, 2000); , 200000);
}); });

@ -222,5 +222,5 @@ $(function() {
setInterval(function(){ setInterval(function(){
get_lesson_comments_length(); get_lesson_comments_length();
} }
, 2000); , 200000);
}); });

@ -4,7 +4,7 @@ $(function() {
if(!window.achievement_in_work){ if(!window.achievement_in_work){
resee_materials() resee_materials()
} }
}, 2000); }, 200000);
}); });
function resee_materials() { function resee_materials() {

@ -87,7 +87,7 @@ $(function() {
check_ahievements() check_ahievements()
} }
} }
, 5000); , 500000);
}); });
function NotEmpty(obj) { function NotEmpty(obj) {
// Проверка объекта на пустоту // Проверка объекта на пустоту

@ -273,7 +273,7 @@ $(function() {
setInterval(function(){ setInterval(function(){
get_lesson_comments_length(); get_lesson_comments_length();
} }
, 2000); , 200000);
if (window.lesson_comments_length != 0){ if (window.lesson_comments_length != 0){
$('[name="old_comments_show"]').fadeIn() $('[name="old_comments_show"]').fadeIn()
} }

Loading…
Cancel
Save