Browse Source

Disable the 'Show on map' button, since it's not yet implemented

Baptiste Jonglez 9 years ago
parent
commit
e2f83d29cc
2 changed files with 1 additions and 1 deletions
  1. 1 0
      panorama/static/panorama/js/pano.js
  2. 0 1
      panorama/templates/panorama/view.html

+ 1 - 0
panorama/static/panorama/js/pano.js

@@ -849,6 +849,7 @@ function manage_ref_points(e) {
 		    }
 		do_delete.onclick = function() {delete_ref_point(insrt)};
 		do_insert.onclick = function() {insert_ref_point(insrt, e.pageX-canvas_pos.x, e.pageY-canvas_pos.y)};
+		// TODO: adapt to the new backend
 		show_cap.onclick = function() {
 			window.open('show_capline.php?title='+encodeURIComponent(btoa(title))+'&cap='+res.cap+'&org_lat='+pt_lat+'&org_lon='+pt_lon+'&dist=120000');
 		};

+ 0 - 1
panorama/templates/panorama/view.html

@@ -76,7 +76,6 @@
       </select>
       <input type="button" id="do-insert" value="insérer"/>
       <input type="button" id="do-delete" value="supprimer"/>
-      <input type="button" id="show-cap" value="visualiser cet axe sur OSM"/>
       <input type="button" id="do-cancel" value="annuler"/>
     </p>
     <p id="res"></p>