Commit 1e5fbed3580ec52620eee8c381fd8e16907e5376
1 parent
b28752bb
Exists in
master
and in
7 other branches
--no commit message
Showing
2 changed files
with
10 additions
and
4 deletions
Show diff stats
classesphp/classe_alteraclasse.php
ferramentas/legenda/index.js.php
| ... | ... | @@ -534,7 +534,9 @@ i3GEOF.legenda = { |
| 534 | 534 | n, |
| 535 | 535 | p, |
| 536 | 536 | cp, |
| 537 | - temp; | |
| 537 | + temp, | |
| 538 | + expn, | |
| 539 | + re = new RegExp('"', "g");; | |
| 538 | 540 | for (t=0;t<trs.length;t++){ |
| 539 | 541 | if(trs[t].childNodes){ |
| 540 | 542 | nn = trs[t].childNodes; |
| ... | ... | @@ -547,8 +549,10 @@ i3GEOF.legenda = { |
| 547 | 549 | temp = (isn[0].id).split("i3GEOlegendaid_"); |
| 548 | 550 | ids.push(temp[1]); |
| 549 | 551 | } |
| 550 | - if(isn[0].name == "expressao") | |
| 551 | - {exps.push(isn[0].value);} | |
| 552 | + if(isn[0].name == "expressao"){ | |
| 553 | + expn = (isn[0].value).replace(re,'##'); | |
| 554 | + exps.push(expn); | |
| 555 | + } | |
| 552 | 556 | } |
| 553 | 557 | } |
| 554 | 558 | } |
| ... | ... | @@ -558,7 +562,8 @@ i3GEOF.legenda = { |
| 558 | 562 | nomes = nomes.join(";"); |
| 559 | 563 | exps = exps.join(";"); |
| 560 | 564 | temp = function(){ |
| 561 | - i3GEOF.legenda.mostralegenda(); | |
| 565 | + i3GEOF.legenda.aguarde.visibility = "hidden"; | |
| 566 | + i3GEOF.legenda.mostralegenda(); | |
| 562 | 567 | i3GEO.atualiza(); |
| 563 | 568 | i3GEO.Interface.atualizaTema("",i3GEOF.legenda.tema); |
| 564 | 569 | i3GEO.arvoreDeCamadas.atualizaLegenda(i3GEOF.legenda.tema); | ... | ... |