]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/base_content.html
Adds quotes to a js object object definition to prevent IE errors.
[osqa.git] / forum / skins / default / templates / base_content.html
index a07b2ba4563f76d7e58d195d4a6ea06ed82e7fb2..9caf2bf52ef2285f7a3e4cb0a0fd1301257e6336 100644 (file)
             var osqaSkin = '{{settings.OSQA_SKIN}}';
 
             var messages = {
-                username: '{{ user.username }}',
-                confirm: "{% trans "Are you sure?" %}",
-                yes: "{% trans "Yes" %}",
-                no: "{% trans "No" %}",
-                message: "{% trans "Message:" %}",
-                cancel: "{% trans "Cancel" %}",
-                close: "{% trans "Close" %}",
-                ok: "{% trans "Ok" %}",
-                matching_tags_url: "{% url matching_tags %}",
+                'username': '{{ user.username }}',
+                'confirm': "{% trans "Are you sure?" %}",
+                'yes': "{% trans "Yes" %}",
+                'no': "{% trans "No" %}",
+                'message': "{% trans "Message:" %}",
+                'cancel': "{% trans "Cancel" %}",
+                'close': "{% trans "Close" %}",
+                'ok': "{% trans "Ok" %}",
+                'matching_tags_url': "{% url matching_tags %}",
             }
         /* ]] */
         </script>