Closed fritzmg closed 1 year ago
Currently, if you have a custom ajaxform_confirm template with a <script>, then that JavaScript won't be executed. This PR changes that by using .append rather than just .innerHTML = … - which will also parse and execute <script>.
ajaxform_confirm
<script>
.append
.innerHTML = …
Reminder @qzminski @aschempp
I am fine with this, @aschempp ?
sorry I missed this one, will be released as 1.3
Currently, if you have a custom
ajaxform_confirm
template with a<script>
, then that JavaScript won't be executed. This PR changes that by using.append
rather than just.innerHTML = …
- which will also parse and execute<script>
.