PDF textbooks only accept PDF files

All other file types will trigger a validation error
This commit is contained in:
David Baumgold
2013-06-20 11:34:20 -04:00
parent 4c304f1d18
commit e8b79dc696
5 changed files with 67 additions and 17 deletions

View File

@@ -11,6 +11,7 @@
<h2 class="title"><%= title %></h2>
<p id="dialog-assetupload-description" class="message"><%= message %></p>
<input type="file" name="file" />
<% if(error) {%><p class="error"><%= error %></p><% } %>
<% if(uploading) { %>
<% if (uploadedBytes && totalBytes) { %>