Commit 8a66e2284c1723805c5bf7594e275efd02d60256

Authored by Edmar Moretti
1 parent 42489a89

--no commit message

classesjs/classe_arvoredecamadas.js
@@ -525,8 +525,8 @@ i3GEO.arvoreDeCamadas = { @@ -525,8 +525,8 @@ i3GEO.arvoreDeCamadas = {
525 } 525 }
526 } 526 }
527 } 527 }
528 - YAHOO.util.Event.addListener($i("arrastar_"+ltema), "click", YAHOO.util.Event.stopEvent);  
529 - YAHOO.util.Event.addFocusListener($i("arrastar_"+ltema), YAHOO.util.Event.stopEvent); 528 + YAHOO.util.Event.addListener($i("arrastar_"+ltema), "click", YAHOO.util.Event.preventDefault);
  529 + YAHOO.util.Event.addFocusListener($i("arrastar_"+ltema), YAHOO.util.Event.preventDefault);
530 } 530 }
531 } 531 }
532 catch(e){ 532 catch(e){
@@ -563,8 +563,8 @@ i3GEO.arvoreDeCamadas = { @@ -563,8 +563,8 @@ i3GEO.arvoreDeCamadas = {
563 else 563 else
564 {temaNode = new YAHOO.widget.HTMLNode(d, tempNode);} 564 {temaNode = new YAHOO.widget.HTMLNode(d, tempNode);}
565 temaNode.setDynamicLoad(i3GEO.arvoreDeCamadas.montaOpcoes, 1); 565 temaNode.setDynamicLoad(i3GEO.arvoreDeCamadas.montaOpcoes, 1);
566 - YAHOO.util.Event.addListener($i("arrastar_"+ltema), "click", YAHOO.util.Event.stopEvent);  
567 - YAHOO.util.Event.addFocusListener($i("arrastar_"+ltema), YAHOO.util.Event.stopEvent); 566 + YAHOO.util.Event.addListener($i("arrastar_"+ltema), "click", YAHOO.util.Event.preventDefault);
  567 + YAHOO.util.Event.addFocusListener($i("arrastar_"+ltema), YAHOO.util.Event.preventDefault);
568 incluidos.push(ltema.name); 568 incluidos.push(ltema.name);
569 } 569 }
570 } 570 }
@@ -584,8 +584,8 @@ i3GEO.arvoreDeCamadas = { @@ -584,8 +584,8 @@ i3GEO.arvoreDeCamadas = {
584 if (n === false){ 584 if (n === false){
585 temaNode = new YAHOO.widget.HTMLNode({enableHighlight:false,expanded:false,html:i3GEO.arvoreDeCamadas.montaTextoTema(ltema),id:ltema.name,tipo:"tema"}, grupoNode, i3GEO.arvoreDeCamadas.EXPANDIDA,true); 585 temaNode = new YAHOO.widget.HTMLNode({enableHighlight:false,expanded:false,html:i3GEO.arvoreDeCamadas.montaTextoTema(ltema),id:ltema.name,tipo:"tema"}, grupoNode, i3GEO.arvoreDeCamadas.EXPANDIDA,true);
586 temaNode.setDynamicLoad(i3GEO.arvoreDeCamadas.montaOpcoes, 1); 586 temaNode.setDynamicLoad(i3GEO.arvoreDeCamadas.montaOpcoes, 1);
587 - YAHOO.util.Event.addListener($i("arrastar_"+ltema), "click", YAHOO.util.Event.stopEvent);  
588 - YAHOO.util.Event.addFocusListener($i("arrastar_"+ltema), YAHOO.util.Event.stopEvent); 587 + YAHOO.util.Event.addListener($i("arrastar_"+ltema), "click", YAHOO.util.Event.preventDefault);
  588 + YAHOO.util.Event.addFocusListener($i("arrastar_"+ltema), YAHOO.util.Event.preventDefault);
589 } 589 }
590 } 590 }
591 } 591 }
classesjs/classe_barradebotoes.js
@@ -504,8 +504,8 @@ i3GEO.barraDeBotoes = { @@ -504,8 +504,8 @@ i3GEO.barraDeBotoes = {
504 if(l[b].constroiconteudo) 504 if(l[b].constroiconteudo)
505 {eval(l[b].constroiconteudo);} 505 {eval(l[b].constroiconteudo);}
506 } 506 }
507 - YAHOO.util.Event.addListener($i(l[b].iddiv), "click", YAHOO.util.Event.stopEvent);  
508 - YAHOO.util.Event.addFocusListener($i(l[b].iddiv), YAHOO.util.Event.stopEvent); 507 + YAHOO.util.Event.addListener($i(l[b].iddiv), "click", YAHOO.util.Event.preventDefault);
  508 + YAHOO.util.Event.addFocusListener($i(l[b].iddiv), YAHOO.util.Event.preventDefault);
509 //$i("i3geo_barra2").onclick = function(){alert("oi");} 509 //$i("i3geo_barra2").onclick = function(){alert("oi");}
510 } 510 }
511 while (b--); 511 while (b--);
classesjs/classe_guias.js
@@ -374,8 +374,8 @@ i3GEO.guias = { @@ -374,8 +374,8 @@ i3GEO.guias = {
374 {eval('$i("'+id+'").onclick = function(event){i3GEO.guias.mostra("'+guias[g]+'");}');} 374 {eval('$i("'+id+'").onclick = function(event){i3GEO.guias.mostra("'+guias[g]+'");}');}
375 else 375 else
376 {guiaconteudo.onclick = guia.click;} 376 {guiaconteudo.onclick = guia.click;}
377 - YAHOO.util.Event.addListener($i(id), "click", YAHOO.util.Event.stopEvent);  
378 - YAHOO.util.Event.addFocusListener($i(id), YAHOO.util.Event.stopEvent); 377 + YAHOO.util.Event.addListener($i(id), "click", YAHOO.util.Event.preventDefault);
  378 + YAHOO.util.Event.addFocusListener($i(id), YAHOO.util.Event.preventDefault);
379 guiaconteudo.onmouseover = onf; 379 guiaconteudo.onmouseover = onf;
380 guiaconteudo.onmouseout = outf; 380 guiaconteudo.onmouseout = outf;
381 temp = $i(guia.idconteudo); 381 temp = $i(guia.idconteudo);
classesjs/classe_i3geo.js
@@ -599,14 +599,14 @@ i3GEO = { @@ -599,14 +599,14 @@ i3GEO = {
599 temp.style.height=h + "px"; 599 temp.style.height=h + "px";
600 temp.style.width=w + "px"; 600 temp.style.width=w + "px";
601 YAHOO.util.Event.addListener(temp, "click", YAHOO.util.Event.stopEvent); 601 YAHOO.util.Event.addListener(temp, "click", YAHOO.util.Event.stopEvent);
602 - YAHOO.util.Event.addFocusListener(temp, YAHOO.util.Event.stopEvent); 602 + YAHOO.util.Event.addFocusListener(temp, YAHOO.util.Event.preventDefault);
603 } 603 }
604 temp = $i(i3GEO.Interface.IDCORPO); 604 temp = $i(i3GEO.Interface.IDCORPO);
605 if(temp){ 605 if(temp){
606 temp.style.height=h + "px"; 606 temp.style.height=h + "px";
607 temp.style.width=w + "px"; 607 temp.style.width=w + "px";
608 YAHOO.util.Event.addListener(temp, "click", YAHOO.util.Event.stopEvent); 608 YAHOO.util.Event.addListener(temp, "click", YAHOO.util.Event.stopEvent);
609 - YAHOO.util.Event.addFocusListener(temp, YAHOO.util.Event.stopEvent); 609 + YAHOO.util.Event.addFocusListener(temp, YAHOO.util.Event.preventDefault);
610 } 610 }
611 temp = $i("mst"); 611 temp = $i("mst");
612 if(temp){ 612 if(temp){
interface/openlayers_t.htm
@@ -260,7 +260,7 @@ i3GEO.inicia(); @@ -260,7 +260,7 @@ i3GEO.inicia();
260 },2000); 260 },2000);
261 }; 261 };
262 })(); 262 })();
263 - YAHOO.util.Event.addListener(document.body, "click", YAHOO.util.Event.stopEvent); 263 + YAHOO.util.Event.addListener(document.body, "click", YAHOO.util.Event.preventDefault);
264 YAHOO.util.Event.addFocusListener(document.body, YAHOO.util.Event.stopEvent); 264 YAHOO.util.Event.addFocusListener(document.body, YAHOO.util.Event.stopEvent);
265 </script> 265 </script>
266 </body> 266 </body>