From 760e579613ccb7447090362bf76321427ecc6855 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Tue, 27 Oct 2009 20:53:46 +0000 Subject: [PATCH] Inclusão de evento para atualizar lista de fotos ao navegar pelo mapa --- ferramentas/buscafotos/index.js.php | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/ferramentas/buscafotos/index.js.php b/ferramentas/buscafotos/index.js.php index 0c383f1..7cd3ea8 100644 --- a/ferramentas/buscafotos/index.js.php +++ b/ferramentas/buscafotos/index.js.php @@ -72,6 +72,7 @@ i3GEOF.buscaFotos = { i3GEOF.buscaFotos.mostraMenu(); }}}); i3GEOF.buscaFotos.ativaFoco(); + i3GEO.eventos.NAVEGAMAPA.push("i3GEOF.buscaFotos.busca('1')"); } catch(erro){alert(erro);} }, @@ -158,6 +159,10 @@ i3GEOF.buscaFotos = { divid = janela[2].id; i3GEOF.buscaFotos.aguarde = $i("i3GEOF.buscaFotos_imagemCabecalho").style; i3GEOF.buscaFotos.inicia(divid); + temp = function(){ + i3GEO.eventos.NAVEGAMAPA.remove("i3GEOF.buscaFotos.busca('1')"); + }; + YAHOO.util.Event.addListener(janela[0].close, "click", temp); }, /* Function: ativaFoco -- libgit2 0.21.2