From: hernani Date: Mon, 12 Jul 2010 19:49:17 +0000 (+0000) Subject: Adds quotes to a js object object definition to prevent IE errors. X-Git-Tag: live~613 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/f96d09230c37fd7a81b3495bdfee83cd831475c9 Adds quotes to a js object object definition to prevent IE errors. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@521 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/skins/default/templates/base_content.html b/forum/skins/default/templates/base_content.html index a07b2ba..9caf2bf 100644 --- a/forum/skins/default/templates/base_content.html +++ b/forum/skins/default/templates/base_content.html @@ -26,15 +26,15 @@ 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 %}", } /* ]] */