summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment/createformcontents.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/attachment/createformcontents.html.tmpl')
-rw-r--r--template/en/default/attachment/createformcontents.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/attachment/createformcontents.html.tmpl b/template/en/default/attachment/createformcontents.html.tmpl
index 1ab3893cd..dc861b7a6 100644
--- a/template/en/default/attachment/createformcontents.html.tmpl
+++ b/template/en/default/attachment/createformcontents.html.tmpl
@@ -28,7 +28,7 @@
<a id="attachment_data_controller" href="javascript:TUI_toggle_class('attachment_text_field');
javascript:TUI_toggle_class('attachment_data')"
>paste text as attachment</a>).<br>
- <input type="file" id="data" name="data" size="50" >
+ <input type="file" id="data" name="data" size="50">
</td>
</tr>
<tr class="attachment_text_field">
@@ -58,7 +58,7 @@
<input type="checkbox" id="ispatch" name="ispatch" value="1">
<label for="ispatch">patch</label><br><br>
[%# Reset this whenever the page loads so that the JS state is up to date %]
- <script type="text/javascript" [% csp_nonce FILTER none %]>
+ <script [% csp_nonce FILTER none %]>
$(function() {
$("#file").on("change", function() {
DataFieldHandler();