"Discard all changes" button failed on newly-created or renamed files in Web IDE. This change fixes it.
Attach a file by drag & drop or click to upload