diff options
Diffstat (limited to 'ishtar_common/templates/window.html')
-rw-r--r-- | ishtar_common/templates/window.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ishtar_common/templates/window.html b/ishtar_common/templates/window.html index dc94b4aae..993df68cc 100644 --- a/ishtar_common/templates/window.html +++ b/ishtar_common/templates/window.html @@ -1,4 +1,4 @@ -{% load i18n %} +{% load i18n l10n %} <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> @@ -45,14 +45,14 @@ </form> </div> -<script type='text/javascript' language='javascript'> +<script type="text/javascript">{% localize off %} {% if new_item_label %} save_and_close_window{% if many %}_many{% endif %}("{{parent_name}}", "{{parent_pk}}", "{{new_item_label|safe}}", "{{new_item_pk}}"); {% endif %} $("#cancel-btn").click(function(){ close(); }); -</script> +{% endlocalize %}</script> </body> </html> |