Commit 33c2222977a54bf9c0fa36c510a3749302fd7e53

Authored by Edmar Moretti
1 parent 5afa294a

--no commit message

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
admin/js/editormapfile.js
... ... @@ -1120,7 +1120,8 @@ function montaEditorEstilo(dados)
1120 1120 }
1121 1121 function salvarDadosEditor(tipo,codigoMap,codigoLayer,indiceClasse,indiceEstilo,testar)
1122 1122 {
1123   - if(arguments.lenght == 5){var testar = false;}
  1123 + if(arguments.length < 6){var testar = false;}
  1124 +
1124 1125 if(tipo == "conexao")
1125 1126 {
1126 1127 var campos = new Array("connection","data","connectiontype","tileitem","tileindex")
... ...