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 | 8 | <div style="top:5px;left:1px;display:block;width:90%;" id="resultadoTemas" >Buscando no mapa...</div> |
9 | 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 | 12 | <script type="text/javascript" src="index.js"></script> |
13 | 13 | <script type="text/javascript"> |
14 | 14 | try{ |
15 | 15 | var id = window.parent.i3GEO.gadgets.mostraBuscaRapida.id; |
16 | 16 | } |
17 | 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 | 23 | i3GEObuscaRapida.inicia( |
19 | - window.parent.document.getElementById("valorBuscaRapida"+id).value, | |
24 | + v.value, | |
20 | 25 | window.parent.i3GEO.configura.locaplic, |
21 | 26 | i3GEObuscaRapida.montaResultado, |
22 | 27 | window.parent.i3GEO.gadgets.PARAMETROS.mostraBuscaRapida.servicosexternos, |
23 | 28 | window.parent.i3GEO.gadgets.PARAMETROS.mostraBuscaRapida.temasmapa |
24 | -) | |
29 | +); | |
25 | 30 | </script> |
26 | 31 | </body> |
27 | 32 | </html> |
28 | 33 | \ No newline at end of file | ... | ... |