From 7e2198b7368f9e82834e2f7ec24caf835c632825 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 11 Jun 2015 22:26:01 +0000 Subject: [PATCH] --- admin/js/estat_editor.js | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/admin/js/estat_editor.js b/admin/js/estat_editor.js index e6d6ffb..5c55df5 100644 --- a/admin/js/estat_editor.js +++ b/admin/js/estat_editor.js @@ -338,6 +338,10 @@ i3GEOadmin.editor = { } }, mostrar: function(nreg, nome_tabela, nomeEsquema, codigo_estat_conexao, w){ + //caso o clique venha como evento + if(arguments.length === 2){ + nreg = false; + } if(!nome_tabela && $i("i3GEOadmintabela").value == ""){ alert("Escolha a tabela"); return; -- libgit2 0.21.2