netrix
Active member
When I try to edit/add a Templatemodification I got the problem that I can't save or test it, cause the HTML looks like this.
The action is undefined. This HTML is generated by this code.
I've inserted this code below to test the thing for the action argument which worked just fine.
HTML:
<form id="templateEditor" action="undefined" class="xenForm formOverlay PrimaryTemplateOnly AutoValidator" data-redirect="yes" method="post">
Code:
<xen:form action="{xen:adminlink '{$prefix}/save', $modification}" class="AutoValidator" data-redirect="yes">
Code:
{xen:adminlink '{$prefix}/save', $modification}