diff --git a/admin/js/estat_editor.js b/admin/js/estat_editor.js index def34cd..e9f866f 100644 --- a/admin/js/estat_editor.js +++ b/admin/js/estat_editor.js @@ -441,7 +441,7 @@ i3GEOadmin.editor = { '

shp:

' + '

shx:

' + '

dbf:

' + - '

Nome da nova tabela:

' + + '

Nome da nova tabela (não utilize caracteres incompatíveis com o banco de dados, como -, acentos ou espaços em branco):

' + '

Código da projeção (SRID) Assegure-se que o shapefile esteja na projeção geográfica se você for usar com o sistema de metadados estatísticos :

' + '

' + @@ -486,8 +486,8 @@ i3GEOadmin.editor = { }, formulario: function(){ var ins = '

' + - '

CSV:

' + - '

Nome da nova tabela:

' + + '

CSV (utilize ponto como separador de valores decimais ou a importação poderá não ocorrer):

' + + '

Nome da nova tabela (não utilize caracteres incompatíveis com o banco de dados, como -, acentos ou espaços em branco):

' + '

' + '' + diff --git a/admin/js/estat_mapa.js b/admin/js/estat_mapa.js index 8ec3c40..71ee234 100755 --- a/admin/js/estat_mapa.js +++ b/admin/js/estat_mapa.js @@ -86,12 +86,10 @@ function montaArvore(dados) YAHOO.example.treeExample = new function() { tree = ""; - function changeIconMode() - { + function changeIconMode(){ buildTree(); } - function loadNodeData(node, fnLoadComplete) - { + function loadNodeData(node, fnLoadComplete){ var sUrl = "../php/metaestat.php?funcao=listaGruposMapa&id_mapa="+node.data.id_mapa; var callback = { @@ -125,8 +123,8 @@ function montaArvore(dados) } buildTree(); }(); - adicionaNosMapa(dados); - tree.draw(); + adicionaNosMapa(dados); + tree.draw(); } function testarMapfile(codigoMap) { @@ -530,21 +528,22 @@ function gravaDados(tipo,id) { var no = tree.getNodeByProperty("id_mapa",id); no.getContentEl().getElementsByTagName("span")[0].innerHTML = document.getElementById("Etitulo").value; - no.getContentEl().getElementsByTagName("span")[0].style.color = ""; + no.getContentEl().getElementsByTagName("span")[0].style.color = ""; no.html = no.getContentEl().innerHTML; + core_pegaDados("buscando mapas...","../php/metaestat.php?funcao=listaMapas","montaArvore"); } if(tipo == "grupo") { var no = tree.getNodeByProperty("id_mapa_grupo",id); no.getContentEl().getElementsByTagName("span")[0].innerHTML = document.getElementById("Etitulo").value; - no.getContentEl().getElementsByTagName("span")[0].style.color = ""; + no.getContentEl().getElementsByTagName("span")[0].style.color = ""; no.html = no.getContentEl().innerHTML; } if(tipo == "tema") { var no = tree.getNodeByProperty("id_mapa_tema",id); no.getContentEl().getElementsByTagName("span")[0].innerHTML = document.getElementById("Etitulo").value; - no.getContentEl().getElementsByTagName("span")[0].style.color = ""; + no.getContentEl().getElementsByTagName("span")[0].style.color = ""; no.html = no.getContentEl().innerHTML; } core_carregando("desativa"); -- libgit2 0.21.2