diff options
| author | marktaiwan <mark.taiwan@gmail.com> | 2015-03-18 21:35:58 +0800 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-03-31 05:57:22 +0200 |
| commit | 0005f11098890ad76c1b9963792cd686493649a9 (patch) | |
| tree | 0af6c24484e3ff69ddd595273fda72055076103a /templates/post_form.html | |
| parent | 3bd7f94861e9a2a8b9a7f8f972f04eb6eaa45453 (diff) | |
initialize file selector soon as it's loaded
Conflicts:
templates/post_form.html
Diffstat (limited to 'templates/post_form.html')
| -rw-r--r-- | templates/post_form.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html index 9596ee6b..809230f0 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -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>: |
