Commit 7e2198b7368f9e82834e2f7ec24caf835c632825
1 parent
0bad250e
Exists in
master
--no commit message
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
admin/js/estat_editor.js
@@ -338,6 +338,10 @@ i3GEOadmin.editor = { | @@ -338,6 +338,10 @@ i3GEOadmin.editor = { | ||
338 | } | 338 | } |
339 | }, | 339 | }, |
340 | mostrar: function(nreg, nome_tabela, nomeEsquema, codigo_estat_conexao, w){ | 340 | mostrar: function(nreg, nome_tabela, nomeEsquema, codigo_estat_conexao, w){ |
341 | + //caso o clique venha como evento | ||
342 | + if(arguments.length === 2){ | ||
343 | + nreg = false; | ||
344 | + } | ||
341 | if(!nome_tabela && $i("i3GEOadmintabela").value == ""){ | 345 | if(!nome_tabela && $i("i3GEOadmintabela").value == ""){ |
342 | alert("Escolha a tabela"); | 346 | alert("Escolha a tabela"); |
343 | return; | 347 | return; |