From e235970523598d1719ba6c1797b3afa83298928b Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Mon, 19 Mar 2012 00:42:19 +0000 Subject: [PATCH] correção no uso de atlas --- classesjs/atlas.js | 72 +++++++++++++++++++++++++++++++++++++++++------------------------------- pacotes/proj4js/lib/defs/EPSG4326.js | 1 + 2 files changed, 42 insertions(+), 31 deletions(-) create mode 100644 pacotes/proj4js/lib/defs/EPSG4326.js diff --git a/classesjs/atlas.js b/classesjs/atlas.js index 68e6206..3cffc79 100644 --- a/classesjs/atlas.js +++ b/classesjs/atlas.js @@ -70,34 +70,38 @@ function iniciaAtlas(combow,atlasId) var localTitulo = document.getElementById("tituloAtlas"); var monta = function (retorno) { - var ins = "",icone = "",pranchas,i, - pai = document.getElementById("guiasAtlas"); + if(retorno.data == undefined) + {return;} if(retorno.data.tipoguias == "") - retorno.data.tipoguias = "combo"; + {retorno.data.tipoguias = "combo"} + + var pai = document.getElementById("guiasAtlas"); if(pai){ - ins = '