scragg0x / realms-wiki

Git based wiki inspired by Gollum
http://realms.io
GNU General Public License v2.0
833 stars 91 forks source link

Saving a new page without a name loses contents #211

Closed Sanqui closed 6 years ago

Sanqui commented 7 years ago
  1. Open a new page (_create/)
  2. Enter some page contents
  3. Save without entering a name for the page

The page contents are lost without warning. Due to use of JavaScript, the back button doesn't recover them. This is unfortunate behavior. I would recommend preventing saving the page when left unnamed.