"Drag and drop files onto course sections to upload them" disappears too fast

"Drag and drop files onto course sections to upload them" disappears too fast

by Rex Lorenzo -
Number of replies: 2

When you turn editing mode on and scroll down the page sometimes you can trigger the alert "Drag and drop files onto course sections to upload them" that appears on the top of the page.

It is useful for our faculty to keep that prompt on longer or permanently.

I am trying to trace where that prompt is generated and am at a lost. I looked at the js files in course/yui/src/dragdrop and course/dnduploadlib.php and cannot seem to find the piece that triggers the alert and how to adjust the time it takes to disappear.

Anyone have a clue?

Average of ratings: -
In reply to Rex Lorenzo

Re: "Drag and drop files onto course sections to upload them" disappears too fast

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

As with all the rest of the drag and drop upload javascript, it's in course/dndupload.js (yui/src/dragdrop is for moving sections).

Look at the 'add_status_div' function.