Remove some redundant / unused code

This commit is contained in:
Lance Edgar 2018-02-19 17:09:12 -06:00
parent 12dd6ae6b0
commit b529a005d8

View file

@ -3,27 +3,6 @@
<%def name="title()">New ${model_title_plural if master.creates_multiple else model_title}</%def>
<%def name="extra_javascript()">
${parent.extra_javascript()}
${self.disable_button_js()}
</%def>
<%def name="disable_button_js()">
<script type="text/javascript">
$(function() {
$('form').submit(function() {
var submit = $(this).find('input[type="submit"]');
if (submit.length) {
submit.button('disable').button('option', 'label', "Saving, please wait...");
}
});
});
</script>
</%def>
<%def name="context_menu_items()"></%def>
<ul id="context-menu">