Commit 6c7a0801349ab5449140443e6717490e26980408

Authored by Edmar Moretti
1 parent 362fca00

i3geo/i3geo#92 Balão de info continua ativo ao abrir editor vetorial

Showing 2 changed files with 6 additions and 1 deletions   Show diff stats
@@ -6,9 +6,10 @@ RUN mkdir /var/www/i3geo && \ @@ -6,9 +6,10 @@ RUN mkdir /var/www/i3geo && \
6 chmod -R g+rwX /var/lock/apache2 && \ 6 chmod -R g+rwX /var/lock/apache2 && \
7 chgrp -R 0 /var/run/apache2 && \ 7 chgrp -R 0 /var/run/apache2 && \
8 chmod -R g+rwX /var/run/apache2 && \ 8 chmod -R g+rwX /var/run/apache2 && \
  9 + touch /var/www/index.php \
9 chmod -R 555 /var/www && \ 10 chmod -R 555 /var/www && \
10 ln -sf /proc/self/fd/1 /var/log/apache2/error.log 11 ln -sf /proc/self/fd/1 /var/log/apache2/error.log
11 COPY . /var/www/i3geo 12 COPY . /var/www/i3geo
12 CMD ["apachectl", "-D", "FOREGROUND"] 13 CMD ["apachectl", "-D", "FOREGROUND"]
13 EXPOSE 8080 14 EXPOSE 8080
14 -USER 1001  
15 \ No newline at end of file 15 \ No newline at end of file
  16 +USER 1001
ferramentas/selecao/index.js
@@ -337,6 +337,7 @@ i3GEOF.selecao = @@ -337,6 +337,7 @@ i3GEOF.selecao =
337 "i3GEOF.tabela.atualizaListaDeRegistros()" 337 "i3GEOF.tabela.atualizaListaDeRegistros()"
338 ]); 338 ]);
339 } 339 }
  340 + i3GEO.eventos.cliquePerm.desativa();
340 i3GEO.eventos.executaEventos(i3GEO.eventos.SELECAO); 341 i3GEO.eventos.executaEventos(i3GEO.eventos.SELECAO);
341 }, 342 },
342 /* 343 /*
@@ -613,6 +614,9 @@ i3GEOF.selecao = @@ -613,6 +614,9 @@ i3GEOF.selecao =
613 maxPoints : 1 614 maxPoints : 1
614 }); 615 });
615 i3GEOF.selecao.clique.ol3.draw.on("drawend",function(evt){ 616 i3GEOF.selecao.clique.ol3.draw.on("drawend",function(evt){
  617 + if (typeof (console) !== 'undefined')
  618 + console.info("i3GEOF.selecao.clique.ol3.draw.on('drawend'");
  619 +
616 var geo, ponto = evt.feature.getGeometry(); 620 var geo, ponto = evt.feature.getGeometry();
617 if ($i("i3GEOFselecaoMantemFigura").checked === true) { 621 if ($i("i3GEOFselecaoMantemFigura").checked === true) {
618 evt.feature.setProperties({origem : "i3GEOFselecao"}); 622 evt.feature.setProperties({origem : "i3GEOFselecao"});