Commit aa08c32c8d96522ecd43398bf52383e840e18770
1 parent
04f0eea3
Exists in
master
and in
7 other branches
Correção no endereço de include de javascript
Showing
1 changed file
with
8 additions
and
3 deletions
Show diff stats
ferramentas/buscarapida/index.htm
@@ -8,20 +8,25 @@ | @@ -8,20 +8,25 @@ | ||
8 | <div style="top:5px;left:1px;display:block;width:90%;" id="resultadoTemas" >Buscando no mapa...</div> | 8 | <div style="top:5px;left:1px;display:block;width:90%;" id="resultadoTemas" >Buscando no mapa...</div> |
9 | <div style="top:5px;left:1px;display:block;width:90%;" id="resultado" >Buscando fora...</div> | 9 | <div style="top:5px;left:1px;display:block;width:90%;" id="resultado" >Buscando fora...</div> |
10 | 10 | ||
11 | -<script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> | 11 | +<script src="../../classesjs/i3geo_tudo_compacto47.js.php" type="text/javascript"></script> |
12 | <script type="text/javascript" src="index.js"></script> | 12 | <script type="text/javascript" src="index.js"></script> |
13 | <script type="text/javascript"> | 13 | <script type="text/javascript"> |
14 | try{ | 14 | try{ |
15 | var id = window.parent.i3GEO.gadgets.mostraBuscaRapida.id; | 15 | var id = window.parent.i3GEO.gadgets.mostraBuscaRapida.id; |
16 | } | 16 | } |
17 | catch(e){id = "";} | 17 | catch(e){id = "";} |
18 | +var v = window.parent.document.getElementById("valorBuscaRapida"+id); | ||
19 | + | ||
20 | +if(!v){ | ||
21 | + v = window.parent.document.getElementById("valorBuscaRapidabuscaRapida"); | ||
22 | +} | ||
18 | i3GEObuscaRapida.inicia( | 23 | i3GEObuscaRapida.inicia( |
19 | - window.parent.document.getElementById("valorBuscaRapida"+id).value, | 24 | + v.value, |
20 | window.parent.i3GEO.configura.locaplic, | 25 | window.parent.i3GEO.configura.locaplic, |
21 | i3GEObuscaRapida.montaResultado, | 26 | i3GEObuscaRapida.montaResultado, |
22 | window.parent.i3GEO.gadgets.PARAMETROS.mostraBuscaRapida.servicosexternos, | 27 | window.parent.i3GEO.gadgets.PARAMETROS.mostraBuscaRapida.servicosexternos, |
23 | window.parent.i3GEO.gadgets.PARAMETROS.mostraBuscaRapida.temasmapa | 28 | window.parent.i3GEO.gadgets.PARAMETROS.mostraBuscaRapida.temasmapa |
24 | -) | 29 | +); |
25 | </script> | 30 | </script> |
26 | </body> | 31 | </body> |
27 | </html> | 32 | </html> |
28 | \ No newline at end of file | 33 | \ No newline at end of file |