Skip to content

Commit

Permalink
fix geo bug part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
afourmy committed Nov 14, 2018
1 parent 19c0cc6 commit 7f1ec3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eNMS/views/templates/geographical_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ <h4 class="modal-title">Export to Google Earth</h4>
<li class="dropdown-submenu">
<a class="menu-submenu menu-view" tabindex="-1" href="#">View type<span class="caret-right"></span></a>
<ul class="dropdown-menu">
{% if view == 'leaflet' %}
{% if view == '2D' %}
<li onclick="$('#view-type').val('2DC'); $('#view-form').submit();"><a tabindex="-1" href="#">Clusterized view</a></li>
<li onclick="$('#view-type').val('3D'); $('#view-form').submit();"><a tabindex="-1" href="#">3D view</a></li>
{% elif view == '2DC' %}
<li onclick="$('#view-type').val('leaflet'); $('#view-form').submit();"><a tabindex="-1" href="#">2D view</a></li>
<li onclick="$('#view-type').val('2D'); $('#view-form').submit();"><a tabindex="-1" href="#">2D view</a></li>
<li onclick="$('#view-type').val('3D'); $('#view-form').submit();"><a tabindex="-1" href="#">3D view</a></li>
{% elif view == '3D' %}
<li onclick="$('#view-type').val('leaflet'); $('#view-form').submit();"><a tabindex="-1" href="#">2D view</a></li>
<li onclick="$('#view-type').val('2D'); $('#view-form').submit();"><a tabindex="-1" href="#">2D view</a></li>
<li onclick="$('#view-type').val('2DC'); $('#view-form').submit();"><a tabindex="-1" href="#">Clusterized view</a></li>
{% endif %}
</li>
Expand Down

0 comments on commit 7f1ec3c

Please sign in to comment.