Enhancements to media upload rules and/or delete media confirm dialog
|Reported by:||Simek||Owned by:|
Now only some file types has required "Name" field, rest don't requires typing name for file. After upload if name field was empty file get name in media library from original uploaded file for example: "doc234" if uploaded file was named "doc234.txt".
Now user can Edit uploaded to library file and delete name. In library view file is called "(no title)", but when user try to delete in confirmation box are only empty quotes without name.
There are two possibilities to fix this.
First: require "Name" value for every file, not only for few types.
Second: add function which show uploaded file name as "Name" in confirmation box, when this name is empty.