Commit 694e47f62ef32e33802ee137d934afb8abbc8a27
1 parent
d2b06052
Exists in
master
Correção na formação do título da camada quando gerada com o plugin parametrossql
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
ferramentas/parametrossql/index.js
| ... | ... | @@ -296,7 +296,7 @@ i3GEOF.parametrossql = { |
| 296 | 296 | var i,n,ins = ""; |
| 297 | 297 | ins += "<div style='width: 100%;' class='form-group label-fixed condensed'>" |
| 298 | 298 | + "<div style='width: 100%;' class='input-group'>" |
| 299 | - + "<select class='form-control' name='" +plugin.chave+ "' >"; | |
| 299 | + + "<select data-titulo='" + plugin.titulo + "' class='form-control' name='" +plugin.chave+ "' >"; | |
| 300 | 300 | |
| 301 | 301 | n = retorno.data.length; |
| 302 | 302 | for(i=0; i<n; i++){ |
| ... | ... | @@ -327,8 +327,8 @@ i3GEOF.parametrossql = { |
| 327 | 327 | for (i = 0; i<n; i++) { |
| 328 | 328 | chaves.push(campos[i].name); |
| 329 | 329 | valores.push(campos[i].value); |
| 330 | - //titulos.push($( campos[i] ).data( "titulo" )); | |
| 331 | - titulos.push(campos[i].options[campos[i].selectedIndex].text); | |
| 330 | + titulos.push($( campos[i] ).data( "titulo" )); | |
| 331 | + //titulos.push(campos[i].options[campos[i].selectedIndex].text); | |
| 332 | 332 | } |
| 333 | 333 | //verifica os objetos pois essa funcao pode ter sido chamada do mashup |
| 334 | 334 | if(typeof i3geoOL != 'undefined' || typeof i3GeoMap != 'undefined'){ | ... | ... |