Allow the 'accept' file upload attribute to be set for artefact chooser

Bug #1381773 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Confirmed
Wishlist
Unassigned

Bug Description

Now that bug #1262928 is done we should expand this to deal with items uploaded by the artefact chooser.

This is a bit more tricky as the chooser can be used for uploading different things depending on where it is called

What we would need to do is:

1) Pass to the artefactchooser an array to indicate what types of acceptable files can be chosen

2) To keep a list of acceptable types so that we can add/edit in one place rather than having to update all the forms (so need to tweak the existing csv ones)

This way if a user is trying to add an image block they can filter the list to valid image types when uploading etc.

Tags: fileupload
Changed in mahara:
importance: Undecided → Wishlist
status: New → Confirmed
tags: added: fileupload
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.