Filelist file upload "overwrite" message
On uploading files in the file list module, a popup is raised "Shall existing be overwritten?". This is unfortunate for several reasons:
- The message is not precise: Files are overwritten only if an existing file with the same name exists.
- The message shouldn't be a js alert, but a callout or a flashmessage (ask frank naegler / benni kott which one)
- The message is always raised, even if no file of the same filename exists.
For 6.2, I'd suggest to keep the current system and just adapt the message a bit to be more precise and state that this will only overwrite existing files if a file with the same name is uploaded.
For master, we could first change the message, too, but it would be much cooler if the system could find out if there is such a file already and only show the popup in this case. Maybe the list of files in a folder needs to be sent to the client in a js array for this?