Commit c5c3cf4e66a88bdbee7bf6e02cb45c50da05377a
1 parent
77e2a780
Exists in
master
and in
7 other branches
--no commit message
Showing
4 changed files
with
13 additions
and
2 deletions
Show diff stats
admin/admin.db
No preview for this file type
aplicmap/dados/biomas.dbf
No preview for this file type
ferramentas/identifica/index.js
... | ... | @@ -939,7 +939,6 @@ i3GEOF.identifica = { |
939 | 939 | for(k=0;k<nitens;k++){ |
940 | 940 | tip = " "; |
941 | 941 | textovalor = resultados[j][k].valor; |
942 | - | |
943 | 942 | //insere o input para edicao |
944 | 943 | //se for uma regiao cadastrada, todos os campos sao editaveis |
945 | 944 | if(idreg != "" && (resultados[j][k].item === retorno[i].editavel || retorno[i].editavel == "todos" )){ |
... | ... | @@ -960,6 +959,18 @@ i3GEOF.identifica = { |
960 | 959 | } |
961 | 960 | filtro = "onclick=i3GEOF.identifica.filtrar('"+retorno[i].tema+"','"+resultados[j][k].item+"','"+resultados[j][k].valor+"','"+idjanela+"')"; |
962 | 961 | filtro = "<img "+filtro+" style='margin-right:2px;position:relative;top:3px;width:12px;' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/view-filter.png' title='"+$trad('filtraValor',i3GEOF.identifica.dicionario)+"' />"; |
962 | + //verifica se o texto possui tags de abertura e fechamento html | |
963 | + try{ | |
964 | + if(textovalor && (textovalor.search(">") >= 0 || textovalor.search("<") >= 0)){ | |
965 | + filtro = ""; | |
966 | + } | |
967 | + //o mesmo problema pode ocorrer em raster, que possuem o nome da classe como valor | |
968 | + if(resultados[j][k].alias.search(">") >= 0 || resultados[j][k].alias.search("<") >= 0){ | |
969 | + filtro = ""; | |
970 | + } | |
971 | + } | |
972 | + catch(e){} | |
973 | + | |
963 | 974 | if(resultados[j][k].link === ""){ |
964 | 975 | res += "<div style='width:100%;text-align:left;background-color:"+ |
965 | 976 | cor+"' >"+ | ... | ... |
temas/_llocali.map