Commit 6b4924cf1e1c0cf6615c9dcf9a929cac5d5d441f
1 parent
6be15e85
Exists in
master
Correção no processamento (cliente) dos parâmetros do plugin parametrossql (lis…
…ta de nomes não estava sendo criticada)
Showing
46 changed files
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){ | ... | ... |