← Back to team overview

mahara-contributors team mailing list archive

[Bug 646864] [NEW] Upload file message does not delete properly + fix

 

Public bug reported:

Once a file is uploaded, a message appears saying 'xxxx uploaded as
xxxx'. If you click the icon to delete the message, a green bar is left
behind, rather than the message disappearing completely.

This is caused by an error in /artefact/file/js/filebrowser.js in the
upload_success function at line 185, which reads:

  replaceChildNodes($('uploadstatusline'+data.uploadnumber),
newmessage);

Whereas it should read:

  replaceChildNodes($('uploadstatusline'+data.uploadnumber),
newmessage.childNodes);

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
Upload file message does not delete properly + fix
https://bugs.launchpad.net/bugs/646864
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.

Status in Mahara ePortfolio: New

Bug description:
Once a file is uploaded, a message appears saying 'xxxx uploaded as xxxx'. If you click the icon to delete the message, a green bar is left behind, rather than the message disappearing completely.

This is caused by an error in /artefact/file/js/filebrowser.js in the upload_success function at line 185, which reads:

  replaceChildNodes($('uploadstatusline'+data.uploadnumber), newmessage);

Whereas it should read:

  replaceChildNodes($('uploadstatusline'+data.uploadnumber), newmessage.childNodes);





Follow ups

References