Commit 081c279d19aacb2ec5816014fea8719ee7ec4f9b

Authored by Edmar Moretti
1 parent f7ecfd53

--no commit message

Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
classesjs/classe_janela.js
... ... @@ -912,6 +912,13 @@ i3GEO.janela = {
912 912 tipo
913 913 );
914 914 }
  915 + //
  916 + //a busca nao funciona com parametros dentro de parenteses
  917 + //por isso e necessario zerar o array
  918 + //
  919 + if(i3GEO.eventos.ATUALIZAARVORECAMADAS.length > 20){
  920 + i3GEO.eventos.ATUALIZAARVORECAMADAS = [];
  921 + }
915 922 temp = "i3GEO.janela.comboCabecalhoTemas('"+idDiv+"','"+idCombo+"','"+ferramenta+"','"+tipo+"')";
916 923 if(i3GEO.eventos.ATUALIZAARVORECAMADAS.toString().search(temp) < 0)
917 924 {i3GEO.eventos.ATUALIZAARVORECAMADAS.push(temp);}
... ...