Skip to content

Commit

Permalink
add ajax image upload form to image select dialog fc2blog#243
Browse files Browse the repository at this point in the history
  • Loading branch information
uzulla committed May 18, 2021
1 parent 6e377f6 commit ac66a79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/twig_templates/admin/entries/editor_js.twig
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
<div id="sys-add-media-search">
<input type="text" id="sys-add-media-search-keyword"/>
<input type="button" value="{{ _('Search') }}" id="sys-add-media-search-button"/>
/
<input id="ajax_file_upload_file" type="file" name="file[file]">
<button type="button" onclick="ajax_file_upload('{{ sig }}');">{{ _('Upload') }}</button>
</div>
<hr/>

Expand Down

0 comments on commit ac66a79

Please sign in to comment.