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