dropzone js giving error on filebrowser artefact with upload = false

Bug #1231671 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon

Bug Description

In some places the filebrowser pieform element has the upload option set to false.

so dropzone js throws javascript errors due to fileDropzone element not being present in document.

Revision history for this message
Robert Lyon (robertl-9) wrote :
Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2534
Committed: http://gitorious.org/mahara/mahara/commit/5d9b633b26c9605db348fa08dc79c11f00ca0b07
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit 5d9b633b26c9605db348fa08dc79c11f00ca0b07
Author: Robert Lyon <email address hidden>
Date: Fri Sep 27 08:32:09 2013 +1200

dropzone loading when not needed (bug #1231671)

- when filebrowser pieform element has upload turned off,
like the filechoosers in skins, it gives js errors.

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

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.8rc1 → 1.8.0
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
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.