Avoid error when no form present

This commit is contained in:
Lance Edgar 2022-12-25 23:05:53 -06:00
parent 0a0b471a03
commit b653351f71

View file

@ -60,7 +60,7 @@
<%def name="modify_this_page_vars()"> <%def name="modify_this_page_vars()">
${parent.modify_this_page_vars()} ${parent.modify_this_page_vars()}
% if can_edit_help: % if can_edit_help and form:
<script type="text/javascript"> <script type="text/javascript">
${form.component_studly}.methods.configureFieldInit = function(fieldname) { ${form.component_studly}.methods.configureFieldInit = function(fieldname) {