Commit 09fdbf10 authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

filebrowser: upload status message misbehaviour.

Final message (upload_success) is attached as a child node of initial message
node (created at upload_presubmit); thus, when message is closed, the outer
block element from previous message was left (grey line).

Signed-off-by: default avatarRuslan Kabalin <>
parent 845aae6d
......@@ -204,8 +204,10 @@ function FileBrowser(idprefix, folderid, config, globalconfig) {
quotaUpdate(data.quotaused, data.quota);
var newmessage = makeMessage(DIV(null,IMG({'src':get_themeurl(image)}), ' ', data.message));
replaceChildNodes($('uploadstatusline'+data.uploadnumber), newmessage);
var newmessage = makeMessage(DIV(null,IMG({'src':get_themeurl(image)}), ' ', data.message), 'info');
setNodeAttribute(newmessage, 'id', 'uploadstatusline' + data.uploadnumber);
appendChildNodes( + '_upload_messages', newmessage);
this.hide_edit_form = function () {
Supports Markdown
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