diff --git a/tailbone/templates/receiving/view.mako b/tailbone/templates/receiving/view.mako index 62c0d6cc..72758aae 100644 --- a/tailbone/templates/receiving/view.mako +++ b/tailbone/templates/receiving/view.mako @@ -3,11 +3,120 @@ <%def name="extra_javascript()"> ${parent.extra_javascript()} - % if request.has_perm('{}.edit_row'.format(permission_prefix)): + % if master.has_perm('edit_row'): + ${h.javascript_link(request.static_url('tailbone:static/js/numeric.js'))}