Explorar el Código

Update timer on ajax request

Piotr Labudda hace 11 años
padre
commit
2e8895f791
Se han modificado 2 ficheros con 4 adiciones y 1 borrados
  1. 1 1
      SE/VERSION
  2. 3 0
      SE/index-ajax.php

+ 1 - 1
SE/VERSION

@@ -1 +1 @@
-3.9.9-4
+3.9.9-5

+ 3 - 0
SE/index-ajax.php

@@ -36,6 +36,7 @@ Lib::loadClass('DB');
 Lib::loadClass('User');
 Lib::loadClass('Http');
 Lib::loadClass('HttpException');
+Lib::loadClass('S');
 
 if (!User::logged()) {
 	die('NotAuthenticated');
@@ -167,6 +168,8 @@ if ($task == 'EDIT') {
 	}
 }
 
+S::timeoutUpdate();
+
 if (method_exists($tblObj, 'ajaxTask')) {
 	$tblObj->ajaxTask($task);
 } else {