Commit 0c07add5 authored by barth23's avatar barth23
Browse files

activate arrow map

parent 6b46dc94
......@@ -21,20 +21,18 @@
<div class="arch-list-view-radio-slider">
<div class="btn-toolbar btn-group-toggle btn-group" data-toggle="buttons">
<!--
<label class="btn btn-primary active">
<input type="radio" name="map_button" value="arrowMap" autocomplete="off" checked="checked"/>
<span data-template="lang:translate" data-template-content="arrowMap"/>
</label>
-->
<label class="btn btn-primary active">
<input type="radio" name="map_button" value="europeMap" autocomplete="off"/>
<span data-template="lang:translate" data-template-content="europeMap" checked="checked"/>
<input type="radio" name="map_button" value="europeMap" autocomplete="off" checked="checked"/>
<span data-template="lang:translate" data-template-content="europeMap"/>
</label>
<label class="btn btn-primary">
<input type="radio" name="map_button" value="parisMap" autocomplete="off"/>
<span data-template="lang:translate" data-template-content="parisMap"/>
</label>
<label class="btn btn-primary">
<input type="radio" name="map_button" value="arrowMap" autocomplete="off"/>
<span data-template="lang:translate" data-template-content="arrowMap"/>
</label>
</div>
</div>
......
......@@ -18,6 +18,9 @@ $("input[name='map_button']").change(function(){
if (button_value == "parisMap") {
var path = "templates/itinerary/js/parisMap.js"
}
if (button_value == "arrowMap") {
var path = "templates/itinerary/js/arrowMap.js"
}
$.ajax({
type: "GET",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment