Commit 42489a898c46908430f85bfd3e830d5d5258d31e
1 parent
841b0fc1
Exists in
master
and in
7 other branches
--no commit message
Showing
5 changed files
with
11 additions
and
1 deletions
Show diff stats
classesjs/classe_arvoredecamadas.js
| @@ -526,6 +526,7 @@ i3GEO.arvoreDeCamadas = { | @@ -526,6 +526,7 @@ i3GEO.arvoreDeCamadas = { | ||
| 526 | } | 526 | } |
| 527 | } | 527 | } |
| 528 | YAHOO.util.Event.addListener($i("arrastar_"+ltema), "click", YAHOO.util.Event.stopEvent); | 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); | ||
| 529 | } | 530 | } |
| 530 | } | 531 | } |
| 531 | catch(e){ | 532 | catch(e){ |
| @@ -563,6 +564,7 @@ i3GEO.arvoreDeCamadas = { | @@ -563,6 +564,7 @@ i3GEO.arvoreDeCamadas = { | ||
| 563 | {temaNode = new YAHOO.widget.HTMLNode(d, tempNode);} | 564 | {temaNode = new YAHOO.widget.HTMLNode(d, tempNode);} |
| 564 | temaNode.setDynamicLoad(i3GEO.arvoreDeCamadas.montaOpcoes, 1); | 565 | temaNode.setDynamicLoad(i3GEO.arvoreDeCamadas.montaOpcoes, 1); |
| 565 | YAHOO.util.Event.addListener($i("arrastar_"+ltema), "click", YAHOO.util.Event.stopEvent); | 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 | incluidos.push(ltema.name); | 568 | incluidos.push(ltema.name); |
| 567 | } | 569 | } |
| 568 | } | 570 | } |
| @@ -583,6 +585,7 @@ i3GEO.arvoreDeCamadas = { | @@ -583,6 +585,7 @@ i3GEO.arvoreDeCamadas = { | ||
| 583 | 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); |
| 584 | temaNode.setDynamicLoad(i3GEO.arvoreDeCamadas.montaOpcoes, 1); | 586 | temaNode.setDynamicLoad(i3GEO.arvoreDeCamadas.montaOpcoes, 1); |
| 585 | YAHOO.util.Event.addListener($i("arrastar_"+ltema), "click", YAHOO.util.Event.stopEvent); | 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); | ||
| 586 | } | 589 | } |
| 587 | } | 590 | } |
| 588 | } | 591 | } |
classesjs/classe_barradebotoes.js
| @@ -505,6 +505,7 @@ i3GEO.barraDeBotoes = { | @@ -505,6 +505,7 @@ i3GEO.barraDeBotoes = { | ||
| 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); | 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); | ||
| 508 | //$i("i3geo_barra2").onclick = function(){alert("oi");} | 509 | //$i("i3geo_barra2").onclick = function(){alert("oi");} |
| 509 | } | 510 | } |
| 510 | while (b--); | 511 | while (b--); |
classesjs/classe_guias.js
| @@ -371,9 +371,11 @@ i3GEO.guias = { | @@ -371,9 +371,11 @@ i3GEO.guias = { | ||
| 371 | guiaconteudo = $i(id); | 371 | guiaconteudo = $i(id); |
| 372 | if(guiaconteudo){ | 372 | if(guiaconteudo){ |
| 373 | if(guia.click === "" || guia.click === undefined) | 373 | if(guia.click === "" || guia.click === undefined) |
| 374 | - {eval('$i("'+id+'").onclick = function(event){i3GEO.guias.mostra("'+guias[g]+'");YAHOO.util.Event.stopEvent(event);}');} | 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 | guiaconteudo.onmouseover = onf; | 379 | guiaconteudo.onmouseover = onf; |
| 378 | guiaconteudo.onmouseout = outf; | 380 | guiaconteudo.onmouseout = outf; |
| 379 | temp = $i(guia.idconteudo); | 381 | temp = $i(guia.idconteudo); |
classesjs/classe_i3geo.js
| @@ -599,12 +599,14 @@ i3GEO = { | @@ -599,12 +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 | } | 603 | } |
| 603 | temp = $i(i3GEO.Interface.IDCORPO); | 604 | temp = $i(i3GEO.Interface.IDCORPO); |
| 604 | if(temp){ | 605 | if(temp){ |
| 605 | temp.style.height=h + "px"; | 606 | temp.style.height=h + "px"; |
| 606 | temp.style.width=w + "px"; | 607 | temp.style.width=w + "px"; |
| 607 | 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); | ||
| 608 | } | 610 | } |
| 609 | temp = $i("mst"); | 611 | temp = $i("mst"); |
| 610 | if(temp){ | 612 | if(temp){ |
interface/openlayers_t.htm
| @@ -260,6 +260,8 @@ i3GEO.inicia(); | @@ -260,6 +260,8 @@ i3GEO.inicia(); | ||
| 260 | },2000); | 260 | },2000); |
| 261 | }; | 261 | }; |
| 262 | })(); | 262 | })(); |
| 263 | + YAHOO.util.Event.addListener(document.body, "click", YAHOO.util.Event.stopEvent); | ||
| 264 | + YAHOO.util.Event.addFocusListener(document.body, YAHOO.util.Event.stopEvent); | ||
| 263 | </script> | 265 | </script> |
| 264 | </body> | 266 | </body> |
| 265 | </html> | 267 | </html> |
| 266 | \ No newline at end of file | 268 | \ No newline at end of file |