Various forms2 changes

This commit is contained in:
Lance Edgar 2017-12-07 20:35:44 -06:00
parent 587871e87c
commit 1e8a4534d5
5 changed files with 35 additions and 25 deletions

View file

@ -6,15 +6,6 @@
<%def name="extra_javascript()">
${parent.extra_javascript()}
${self.disable_button_js()}
% if dform is not Undefined:
<% resources = dform.get_widget_resources() %>
% for path in resources['js']:
${h.javascript_link(request.static_url(path))}
% endfor
% for path in resources['css']:
${h.stylesheet_link(request.static_url(path))}
% endfor
% endif
</%def>
<%def name="disable_button_js()">

View file

@ -18,15 +18,6 @@
});
</script>
% if dform is not Undefined:
<% resources = dform.get_widget_resources() %>
% for path in resources['js']:
${h.javascript_link(request.static_url(path))}
% endfor
% for path in resources['css']:
${h.stylesheet_link(request.static_url(path))}
% endfor
% endif
</%def>
<%def name="context_menu_items()">