← Back to team overview

mahara-contributors team mailing list archive

[Bug 623648] Re: File upload from within a view doesn't always show finished uploading

 

Ruslan,

I was working on a feature recently that would allow a user to choose a
video encoding format in the upload form, and so I needed a way to turn
off the automatic uploading of the file as soon as it's chosen, and
include a submit button (like your submit-helper) instead.

I had to do this for the video thing because otherwise the form might be
submitted before the user had a chance to choose the encoding format.

It's looking like that video encoding stuff won't make into the core
code now, but I extracted the patch that lets you turn off the automatic
submit-on-choose and replace it with the "submit helper".

Have a look and let me know what you think - we could use this as a
workaround until we find a better way to fix the problem, but
unfortunately it would spoil things a bit for the IE & Chrome users.

** Patch added: "Possible submit button workaround"
   https://bugs.launchpad.net/mahara/+bug/623648/+attachment/1676040/+files/auto-upload-optional.patch

-- 
File upload from within a view doesn't always show finished uploading
https://bugs.launchpad.net/bugs/623648
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: In Progress

Bug description:
When I re-upload an HTML file from within a view with the same name, it is not always shown as being uploaded, but the wheel continues to turn. However, the file is uploaded, because when I click Save and return to the settings, I can see the file with the new name.

In a couple of occasions, the file was shown immediately, but in 5 out of 8 it wasn't.

(master.dev, Firefox 3.6, Mac 10.6)





References