stephenmcd/mezzanine — Issue #111: Missing jsi18n javascript reference for list_editable date fields
Author: derkaderka
Created: 2011-12-17 19:27:57+00:00
State: open

Date fields in line_editable are handled via a jQuery calendar widget. This widget is subject to localization, disregarding of the I18N settings. At the moment the templates lack a reference before the calendar.js file is included, thus an error occurs hwen referencing the gettext JS function declared in the jsi18n file.

This is pretty much a grappelli problem but it is unclear if it affects upstream as well. The fix is:

{% block javascripts %}

Where /admin/ should be a relative URL to the admin interface directory. The file is admin/base.html.