use correct URL for type-based sub-form

This commit is contained in:
Helmut Merz 2012-01-01 12:16:53 +01:00
parent 8f1d31966f
commit ec4116d88c

View file

@ -97,7 +97,7 @@
tal:attributes="onChange
string:return replaceFieldsNode(
'form.fields', 'form.type',
'${view/url}/$innerForm')">
'${view/virtualTargetUrl}/$innerForm')">
<option value=".loops/concepts/note"
i18n:translate=""
tal:repeat="type python:
@ -114,7 +114,7 @@
<script type="text/javascript"
tal:content="string:replaceFieldsNode(
'form.fields', 'form.type',
'${view/url}/$innerForm')">
'${view/virtualTargetUrl}/$innerForm')">
</script>
</th></tr></tbody>