force the browse dialog to only accept images

on image upload
This commit is contained in:
Régis Hanol 2013-04-26 13:56:05 +03:00
parent b82e408351
commit 07b9c47efe
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
{{#if view.localSelected}}
<div class='modal-body'>
<form>
<input type="file" name="file" id="filename-input" value="browse"><br>
<input type="file" name="file" id="filename-input" value="browse" accept="image/*"><br>
<span class='description'>{{i18n image_selector.local_tip}}</span> <br>
</form>
</div>