]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/base_content.html
OSQA-583, prevent the caching of the JavaScript files. Appending a random number...
[osqa.git] / forum / skins / default / templates / base_content.html
index 01f4307cf4b1dbfa45533d6c608ef1e278a01a6c..22c1647ffa874b0c999806b32933a0711ce38c9d 100644 (file)
@@ -51,8 +51,8 @@
             }
         /* ]]> */
         </script>
             }
         /* ]]> */
         </script>
-        <script type='text/javascript' src='{% media  "/media/js/osqa.main.js" %}'></script>
-        <script type='text/javascript' src='{% media  "/media/js/jquery.copy.js" %}'></script>
+        <script type="text/javascript" src="{% media  "/media/js/osqa.main.js" %}?{% random 1 1000000 %}"></script>
+        <script type="text/javascript" src="{% media  "/media/js/jquery.copy.js" %}?{% random 1 1000000 %}"></script>
         {% if user_messages %}
         <style type="text/css">
             body { margin-top:2.4em; }
         {% if user_messages %}
         <style type="text/css">
             body { margin-top:2.4em; }