Commit 760e579613ccb7447090362bf76321427ecc6855
1 parent
492cd9c2
Exists in
master
and in
7 other branches
Inclusão de evento para atualizar lista de fotos ao navegar pelo mapa
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
ferramentas/buscafotos/index.js.php
| @@ -72,6 +72,7 @@ i3GEOF.buscaFotos = { | @@ -72,6 +72,7 @@ i3GEOF.buscaFotos = { | ||
| 72 | i3GEOF.buscaFotos.mostraMenu(); | 72 | i3GEOF.buscaFotos.mostraMenu(); |
| 73 | }}}); | 73 | }}}); |
| 74 | i3GEOF.buscaFotos.ativaFoco(); | 74 | i3GEOF.buscaFotos.ativaFoco(); |
| 75 | + i3GEO.eventos.NAVEGAMAPA.push("i3GEOF.buscaFotos.busca('1')"); | ||
| 75 | } | 76 | } |
| 76 | catch(erro){alert(erro);} | 77 | catch(erro){alert(erro);} |
| 77 | }, | 78 | }, |
| @@ -158,6 +159,10 @@ i3GEOF.buscaFotos = { | @@ -158,6 +159,10 @@ i3GEOF.buscaFotos = { | ||
| 158 | divid = janela[2].id; | 159 | divid = janela[2].id; |
| 159 | i3GEOF.buscaFotos.aguarde = $i("i3GEOF.buscaFotos_imagemCabecalho").style; | 160 | i3GEOF.buscaFotos.aguarde = $i("i3GEOF.buscaFotos_imagemCabecalho").style; |
| 160 | i3GEOF.buscaFotos.inicia(divid); | 161 | i3GEOF.buscaFotos.inicia(divid); |
| 162 | + temp = function(){ | ||
| 163 | + i3GEO.eventos.NAVEGAMAPA.remove("i3GEOF.buscaFotos.busca('1')"); | ||
| 164 | + }; | ||
| 165 | + YAHOO.util.Event.addListener(janela[0].close, "click", temp); | ||
| 161 | }, | 166 | }, |
| 162 | /* | 167 | /* |
| 163 | Function: ativaFoco | 168 | Function: ativaFoco |