How can I reset the file area?

How can I reset the file area?

by Antonio Garmendía -
Number of replies: 1

Hi everyone,

I develop a course format and I'm using the filemanager. When I sent the form via Ajax, I want that the filemanager reset the filearea with another itemid and without the previous uploaded files. Can I do it with Javascript? Thanks!!

Cheers,

Tony

Average of ratings: -
In reply to Antonio Garmendía

Re: How can I reset the file area?

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Dear Tony,

As this is getting really technical and more specific to the filemanager and not course formats I think it might be worth asking in the developers forum.

Cheers,

Gareth