Commit fe87e0e58d3a7407f69ea8d4ca478a6f2c95c66b
1 parent
1266b648
Exists in
master
corrige o problema das exibicoes
git-svn-id: http://svn.softwarepublico.gov.br/svn/sistemadeatendimento/sistema/trunk@25 63db2ce5-8a6c-0410-abb9-a418dd412890
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
Fila-Web/root/header.tt
@@ -35,10 +35,11 @@ function disconnected_so_move_away() { | @@ -35,10 +35,11 @@ function disconnected_so_move_away() { | ||
35 | 35 | ||
36 | function check_timeout(tk) { | 36 | function check_timeout(tk) { |
37 | if (timeout == 0) { | 37 | if (timeout == 0) { |
38 | + $('aviso_timeout').replace('<DIV id="aviso_timeout"></DIV>'); | ||
38 | if (waiting_for) { | 39 | if (waiting_for) { |
40 | + waiting_for = ''; | ||
39 | timeout_callback(); | 41 | timeout_callback(); |
40 | } | 42 | } |
41 | - $('aviso_timeout').replace('<DIV id="aviso_timeout"></DIV>'); | ||
42 | } else { | 43 | } else { |
43 | $('aviso_timeout').replace('<DIV id="aviso_timeout" class="aviso_timeout">' + | 44 | $('aviso_timeout').replace('<DIV id="aviso_timeout" class="aviso_timeout">' + |
44 | timeout + ' segundos para ' + waiting_for +'</DIV>'); | 45 | timeout + ' segundos para ' + waiting_for +'</DIV>'); |