Commit d022088d authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

fixing so when file upload fails due to timeout there is not a useless undefined file entry

parent 5be83829
......@@ -15,7 +15,7 @@ function ajaxlogin_iframe(form, crap) {
config.sesskey = data.message;
uploader.getresult({"uploadnumber":$('uploadnumber').value,"message": get_string('timeouterror'),"problem": true});
uploader.getresult({"uploadnumber":$('uploadnumber').value, "message": get_string('timeouterror'), "error":"local", "problem": true});
function() {},
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