Просмотр исходного кода

Clientside Bar Charts - http://opengamepanel.org/forum/viewthread.php?thread_id=5326

own3mall 9 лет назад
Родитель
Сommit
c2aa70f731
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      includes/refreshed.php

+ 6 - 1
includes/refreshed.php

@@ -119,6 +119,11 @@ class refreshed
 						  "\t	success: function(data, textStatus) {\n".
 						  "\t		if (!enableCallbacks) return;\n".
 						  "\t		$('".$ref."').html(data);\n";
+				
+				if($_GET['m'] == 'status'){
+					$first .= "\t		animateProgressBars();\n";
+				}
+				
 				if($_GET['m'] == 'gamemanager' and $_GET['p'] == 'log')
 				{
 					$first .= "\t		$('".$ref."').animate({ scrollTop: $('".$ref."').prop('scrollHeight')*3}, 3000);\n";
@@ -159,4 +164,4 @@ class refreshed
 		}
 	}
 }
-?>
+?>