]> git.openstreetmap.org Git - osqa.git/commitdiff
OSQA-583, prevent the caching of the JavaScript files. Appending a random number...
authorjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 9 Apr 2011 18:20:48 +0000 (18:20 +0000)
committerjordan <jordan@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 9 Apr 2011 18:20:48 +0000 (18:20 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@952 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/base_content.html

index 01f4307cf4b1dbfa45533d6c608ef1e278a01a6c..22c1647ffa874b0c999806b32933a0711ce38c9d 100644 (file)
@@ -51,8 +51,8 @@
             }
         /* ]]> */
         </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; }