Commit 081c279d19aacb2ec5816014fea8719ee7ec4f9b
1 parent
f7ecfd53
Exists in
master
and in
7 other branches
--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,6 +912,13 @@ i3GEO.janela = { | ||
912 | tipo | 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 | temp = "i3GEO.janela.comboCabecalhoTemas('"+idDiv+"','"+idCombo+"','"+ferramenta+"','"+tipo+"')"; | 922 | temp = "i3GEO.janela.comboCabecalhoTemas('"+idDiv+"','"+idCombo+"','"+ferramenta+"','"+tipo+"')"; |
916 | if(i3GEO.eventos.ATUALIZAARVORECAMADAS.toString().search(temp) < 0) | 923 | if(i3GEO.eventos.ATUALIZAARVORECAMADAS.toString().search(temp) < 0) |
917 | {i3GEO.eventos.ATUALIZAARVORECAMADAS.push(temp);} | 924 | {i3GEO.eventos.ATUALIZAARVORECAMADAS.push(temp);} |