From 1a6f550c22be1ceb092e2817ce93e79102bc3158 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Fri, 13 Nov 2009 21:50:45 +0000 Subject: [PATCH] Inclusão de crítica para impedir a inclusão de textos quando a guia 3 estiver ativa --- ferramentas/inseretxt/index.js.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ferramentas/inseretxt/index.js.php b/ferramentas/inseretxt/index.js.php index dbf38df..3d936e4 100644 --- a/ferramentas/inseretxt/index.js.php +++ b/ferramentas/inseretxt/index.js.php @@ -343,8 +343,11 @@ i3GEOF.inseretxt = { try{ if(i3GEOF.inseretxt.aguarde.visibility === "visible") {return;} + if($i("i3GEOinseretxtguia3obj").style.display === "block"){ + alert("Ative a guia 1 ou 2 para definir o texto"); + return; + } i3GEOF.inseretxt.aguarde.visibility = "visible"; - var texto,temp,tema,item; // //de onde vem o texto -- libgit2 0.21.2