Improved generated js code.
This commit is contained in:
parent
d87d781db5
commit
2563f15238
2 changed files with 6 additions and 3 deletions
|
@ -69,9 +69,12 @@
|
|||
<button id="feedback-form">Feedback</button>
|
||||
|
||||
<script id="zammad_form_script" src="<%= @baseurl %>/assets/form/form.js"></script>
|
||||
|
||||
<script>
|
||||
$('#feedback-form').zammad_form({
|
||||
$(function() {
|
||||
$('#feedback-form').zammad_form({
|
||||
<span class="js-modal-params"></span>
|
||||
});
|
||||
});
|
||||
</script></pre>
|
||||
</div>
|
Loading…
Reference in a new issue