Allow the filebrowser upload field filter by file type

Bug #1422480 reported by Robert Lyon on 2015-02-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Low
Robert Lyon

Bug Description

This bug is similar to bug 1262928 - but it allows the filebrowser to do the same filtering as it's <input type="file"> is hardcoded in the filebrowser template rather than coming from the pieform file element.

This will allow me, when adding a block that only works for certain files, eg pdf block/image block, to filter my local files to choose from down to just the allowed types.

Reviewed: https://reviews.mahara.org/4280
Committed: http://gitorious.org/mahara/mahara/commit/11503817ce9d1c8439f3274a23542b504b54ec2d
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 11503817ce9d1c8439f3274a23542b504b54ec2d
Author: Robert Lyon <email address hidden>
Date: Tue Feb 17 09:00:54 2015 +1300

Allowing the pdf block file upload field to filter by pdf

Bug 1422480

Also added a filter to the image block to filter by image files

Change-Id: If5665396894f5f9114cca4b449d383efbfc5f94f
Signed-off-by: Robert Lyon <email address hidden>

tags: added: nominatedfeature
Changed in mahara:
status: In Progress → Fix Committed
milestone: none → 15.04.0
Robert Lyon (robertl-9) on 2015-04-17
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers