From 8358990e2bb344766778f98a808dc9119ddc1c8c Mon Sep 17 00:00:00 2001 From: Shane Frischkorn Date: Sat, 17 Aug 2013 22:35:38 +1000 Subject: [PATCH] Removed commented out code --- three_d_viewer/templates/three_d_viewer/detail.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/three_d_viewer/templates/three_d_viewer/detail.html b/three_d_viewer/templates/three_d_viewer/detail.html index c891ce7..06f7129 100644 --- a/three_d_viewer/templates/three_d_viewer/detail.html +++ b/three_d_viewer/templates/three_d_viewer/detail.html @@ -76,10 +76,8 @@ function formatNumber(numero, decimales){ function load(){ var sampleFilename = '{{ sample.model_filename|escapejs }}'; - alert('{{ MEDIA_URL }}' + sampleFilename) request = new XMLHttpRequest(); request.open("GET", '{{ MEDIA_URL }}' + sampleFilename, true); - {% comment %}request.open("GET", "{% get_static_prefix %}" + "three_d_viewer/" + sampleFilename, true);{% endcomment %} request.overrideMimeType("text/plain; charset=x-user-defined"); request.onreadystatechange = function(){ if (this.readyState == 3 || this.readyState == 4){