initialize file selector soon as it's loaded

Conflicts:
	templates/post_form.html
This commit is contained in:
marktaiwan 2015-03-18 21:35:58 +08:00 committed by czaks
parent 3bd7f94861
commit 0005f11098
2 changed files with 20 additions and 24 deletions

View file

@ -106,6 +106,8 @@
</div>
</div>
<script type="text/javascript">if (typeof init_file_selector !== 'undefined') init_file_selector();</script>
{% if config.allow_upload_by_url %}
<div style="float:none;text-align:left" id="upload_url">
<label for="file_url">{% trans %}Or URL{% endtrans %}</label>: