diff --git a/plone/formwidget/querystring/input.pt b/plone/formwidget/querystring/input.pt index fc22da8..440f537 100644 --- a/plone/formwidget/querystring/input.pt +++ b/plone/formwidget/querystring/input.pt @@ -10,7 +10,8 @@ sortable_indexes config/sortable_indexes; addindexselected python:request.has_key('addindex') and request.addindex != ''; addoperatorselected python:request.has_key('addoperator') and request.addoperator != ''"> - + + - - and - @@ -140,6 +141,7 @@ + + jQuery(document).ready(function() { + if (jQuery().dateinput) { + %(localize)s + %(defaultlang)s + } + }); + ''' % dict(defaultlang=defaultlang, localize=localize) + + @implementer(z3c.form.interfaces.IFieldWidget) def QueryStringFieldWidget(field, request): return FieldWidget(field, QueryStringWidget(request))