Commit 372f601c25ee83a956385967056b5b5c21211b27
1 parent
fc68ec53
Exists in
master
and in
6 other branches
Correção no processamento (cliente) dos parâmetros do plugin parametrossql (lis…
…ta de nomes não estava sendo criticada)
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
ferramentas/parametrossql/index.js
| ... | ... | @@ -282,6 +282,9 @@ i3GEOF.parametrossql = { |
| 282 | 282 | } |
| 283 | 283 | ins += "class='form-control' data-titulo='" + p.titulo + "' name='"+p.chave+"' >"; |
| 284 | 284 | l = p.valores.split(","); |
| 285 | + if(!p.nomes || p.nomes == undefined ){ | |
| 286 | + p.nomes = p.valores; | |
| 287 | + } | |
| 285 | 288 | nm = p.nomes.split(","); |
| 286 | 289 | nj = l.length; |
| 287 | 290 | if(nj != nm.length){ | ... | ... |