diff --git a/tailbone/forms/core.py b/tailbone/forms/core.py index 4f94163c..5d1ef763 100644 --- a/tailbone/forms/core.py +++ b/tailbone/forms/core.py @@ -766,10 +766,6 @@ class Form(object): model value for the given field. This JS will be written as part of the overall response, to be interpreted on the client side. """ - if isinstance(field.schema.typ, colander.Date): - # TODO: don't recall why "always null" here? - return 'null' - if isinstance(field.schema.typ, deform.FileData): # TODO: don't recall why "always null" here? return 'null' diff --git a/tailbone/templates/batch/edit.mako b/tailbone/templates/batch/edit.mako index 868c8fff..4d9e990e 100644 --- a/tailbone/templates/batch/edit.mako +++ b/tailbone/templates/batch/edit.mako @@ -1,59 +1,3 @@ ## -*- coding: utf-8; -*- <%inherit file="/master/edit.mako" /> - -<%def name="extra_javascript()"> - ${parent.extra_javascript()} - ${h.javascript_link(request.static_url('tailbone:static/js/tailbone.batch.js'))} - -%def> - -<%def name="extra_styles()"> - ${parent.extra_styles()} - -%def> - -<%def name="buttons()"> -
-%def> - -<%def name="grid_tools()"> - % if not batch.executed: -${h.link_to("Delete all rows matching current search", url('{}.delete_rows'.format(route_prefix), uuid=batch.uuid))}
- % endif -%def> - -