Commit 5b79ee48f85fc99006cac0dfb994d7b6286c3c21

Authored by Kermeson
1 parent b06cfaa7
Exists in master

Correção do bug, na exibição das mensagens de transição de estado

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>');