Commit 6c7a0801349ab5449140443e6717490e26980408
1 parent
362fca00
Exists in
master
and in
6 other branches
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
Dockerfile
| ... | ... | @@ -6,9 +6,10 @@ RUN mkdir /var/www/i3geo && \ |
| 6 | 6 | chmod -R g+rwX /var/lock/apache2 && \ |
| 7 | 7 | chgrp -R 0 /var/run/apache2 && \ |
| 8 | 8 | chmod -R g+rwX /var/run/apache2 && \ |
| 9 | + touch /var/www/index.php \ | |
| 9 | 10 | chmod -R 555 /var/www && \ |
| 10 | 11 | ln -sf /proc/self/fd/1 /var/log/apache2/error.log |
| 11 | 12 | COPY . /var/www/i3geo |
| 12 | 13 | CMD ["apachectl", "-D", "FOREGROUND"] |
| 13 | 14 | EXPOSE 8080 |
| 14 | -USER 1001 | |
| 15 | 15 | \ No newline at end of file |
| 16 | +USER 1001 | ... | ... |
ferramentas/selecao/index.js
| ... | ... | @@ -337,6 +337,7 @@ i3GEOF.selecao = |
| 337 | 337 | "i3GEOF.tabela.atualizaListaDeRegistros()" |
| 338 | 338 | ]); |
| 339 | 339 | } |
| 340 | + i3GEO.eventos.cliquePerm.desativa(); | |
| 340 | 341 | i3GEO.eventos.executaEventos(i3GEO.eventos.SELECAO); |
| 341 | 342 | }, |
| 342 | 343 | /* |
| ... | ... | @@ -613,6 +614,9 @@ i3GEOF.selecao = |
| 613 | 614 | maxPoints : 1 |
| 614 | 615 | }); |
| 615 | 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 | 620 | var geo, ponto = evt.feature.getGeometry(); |
| 617 | 621 | if ($i("i3GEOFselecaoMantemFigura").checked === true) { |
| 618 | 622 | evt.feature.setProperties({origem : "i3GEOFselecao"}); | ... | ... |