Commit b8108bd3 authored by Nigel McNie's avatar Nigel McNie
Browse files

Ensure the title field is reset after uploading an image.

I'm not sure why calling reset() on the form wasn't doing this in firefox 2. I've left that line in just in case it actually works on other browsers.
parent e87d5032
......@@ -143,6 +143,7 @@ function postSubmit(form, data) {
quotaUpdate();
if (!data.error) {
$(form).reset();
$('upload_title').value = '';
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment