jweigelt / swbf2admin

Star Wars Battlefront II (2005) server management application
GNU General Public License v3.0
51 stars 19 forks source link

"Random" default settings #1

Closed jweigelt closed 6 years ago

jweigelt commented 6 years ago

The server's settings sometimes get overwritten with the default values defined in the html form. This is probably caused by the settings being sent before receiving them first. So far I wasn't able to figure out what's invoking the request as it seems to happen randomly.

jweigelt commented 6 years ago

Fixed in https://github.com/jweigelt/swbf2admin/commit/f9c18f0523f60c5422d3106eb8ae1a815b2bedf6 Caused by not clearing the autosave timeout which then fired when the page was already unloaded.