Browse Source

Remove debug

Baptiste Jonglez 9 years ago
parent
commit
d3a7a595cd
1 changed files with 1 additions and 2 deletions
  1. 1 2
      panorama/static/panorama/js/pano.js

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

@@ -888,8 +888,7 @@ function insert_ref_point(el, x, y) {
 	// Then push the modif
 	var xhr = getXMLHttpRequest();
 	xhr.open("POST", "/api/v1/references/", true);
-    xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
-    alert("x=" + x + " y=" + y + " last.x=" + last.x + " last.y=" + last.y);
+        xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
 	xhr.send("reference_point=" + refpoint_url
 	         + "&panorama=" + panorama_url
                  + "&csrfmiddlewaretoken=" + csrf_token