Deleting a binary file
A normal page can be deleted by emptying its contents (nice and logical).
How does one delete a file uploaded? (Picture, PDF, …) If you edit it and do not choose a file, the contents are removed, but its "page" somehow still exists.
You can always delete a page by going to its history and clicking 'Undo' on the very first change – it will undo the page creation, so to speak.
The development version now deletes a page when an empty file (or no file) is uploaded. I'm not sure it's good (may lead to accidental deletions), but at least it's consistent.
Thanks for the report – Radomir Dopieralski
Undo on the first change: Ah, I am using Hatta as a "CMS" for a group of people that need as simple an interface as possible, so I have actually hidden the History and Backlinks links, so I didn't think of looking there.
You are right that it may be too easy to delete a file accidentally (but then again, it always was).
Maybe a warning before it is really deleted? On the other hand, that clutters up the clean interface experience.
Thanks! – asjo
![[Home]](/+download/logo.png)