Commit 1f01b151a7bf3ae9d49f47db6419c158537ac445
1 parent
62101b4e
Exists in
master
and in
7 other branches
Inclusão de opção no editor de legenda que permite alterar a ordem das classes
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
ferramentas/legenda/index.js.php
... | ... | @@ -433,7 +433,7 @@ i3GEOF.legenda = { |
433 | 433 | id = retorno.data[i].tema+"-"+retorno.data[i].idclasse; //layer+indice da classe |
434 | 434 | re = new RegExp("'", "g"); |
435 | 435 | exp = (retorno.data[i].expressao).replace(re,'"'); |
436 | - ins.push("<tr><td><img style='cursor:pointer' title='clique para excluir' onclick='i3GEOF.legenda.excluilinhaf(this)' src='" + i3GEO.configura.locaplic + "/imagens/x.gif' title='excluir' /></td><td><img style='cursor:pointer' title='clique para alterar' src='"+retorno.data[i].imagem+"' onclick=i3GEOF.legenda.editaSimbolo('i3GEOlegendaid_"+id+"') /></td>"); | |
436 | + ins.push("<tr><td><img style='cursor:pointer' title='clique para excluir' onclick='i3GEOF.legenda.excluilinhaf(this)' src='" + i3GEO.configura.locaplic + "/imagens/x.gif' title='excluir' /></td><td><img width='30px' height='15px' style='cursor:pointer' title='clique para alterar' src='"+retorno.data[i].imagem+"' onclick=i3GEOF.legenda.editaSimbolo('i3GEOlegendaid_"+id+"') /></td>"); | |
437 | 437 | ins.push("<td><img onclick=i3GEOF.legenda.modificaCor('"+retorno.data[i].idclasse+"') title='alterar a cor' style='cursor:pointer' src='" + i3GEO.configura.locaplic + "/imagens/aquarela.gif' /></td>"); |
438 | 438 | ins.push("<td>"); |
439 | 439 | ins.push($inputText("","","i3GEOlegendaid_"+id,"digite o novo nome",30,retorno.data[i].nomeclasse,"nome","javascript:i3GEOF.legenda.aviso()")); |
... | ... | @@ -832,7 +832,7 @@ i3GEOF.legenda = { |
832 | 832 | cp = new cpaint(), |
833 | 833 | temp = function(){ |
834 | 834 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
835 | - i3GEOF.legenda.mudaLegenda(); | |
835 | + i3GEOF.legenda.mostralegenda(); | |
836 | 836 | }; |
837 | 837 | cp.set_response_type("JSON"); |
838 | 838 | cp.call(p,"foo",temp); |
... | ... | @@ -850,7 +850,7 @@ i3GEOF.legenda = { |
850 | 850 | cp = new cpaint(), |
851 | 851 | temp = function(){ |
852 | 852 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
853 | - i3GEOF.legenda.mudaLegenda(); | |
853 | + i3GEOF.legenda.mostralegenda(); | |
854 | 854 | };; |
855 | 855 | cp.set_response_type("JSON"); |
856 | 856 | cp.call(p,"foo",temp); | ... | ... |