Commit 40d1d1da4c90fcdd3e34f9e39a29184da1db0063
1 parent
6952987d
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
admin/js/estat_editor.js
... | ... | @@ -248,13 +248,13 @@ i3GEOadmin.editor = { |
248 | 248 | i,j,l,w; |
249 | 249 | tabela.push("<head><body><table style='border:1px solid black'><tr>"); |
250 | 250 | for(i=0;i<ncolunas;i++){ |
251 | - tabela.push("<td style='border:1px solid gray' >"+dados.colunas[i].field+"</td>"); | |
251 | + tabela.push("<td style='border:1px solid gray' >"+dados.nomescolunas[i]+"</td>"); | |
252 | 252 | } |
253 | 253 | tabela.push("</tr>"); |
254 | 254 | for(i=0;i<nlinhas;i++){ |
255 | 255 | tabela.push("<tr>"); |
256 | 256 | l = linhas[i]; |
257 | - for(j=0;j<dados.nomescolunas.length;j++){ | |
257 | + for(j=0;j<ncolunas;j++){ | |
258 | 258 | tabela.push("<td style='border:1px solid beige'>"+l[j]+"</td>"); |
259 | 259 | } |
260 | 260 | tabela.push("</tr>"); | ... | ... |