mainIine / foe-helfer-extension

FoE Helfer - Extension for chromium based browsers and Firefox ;-)
https://foe-helper.com
GNU Affero General Public License v3.0
119 stars 181 forks source link

add world to my profile #2844

Closed stekkedecat closed 1 week ago

stekkedecat commented 2 weeks ago

I tried to add a new world to my profile, but i cannot get it to work right... I've been doing some digging and in the form i found 2 errors: <form class="form-inline" action="user/profile"> <span class="input-group-text"> nl </span> <input type="number" min="1" step="1" class="form-control" name="world_number" required=""> <button class="btn btn-primary btn-sm waves-effect waves-light" role="button" type="button"> Save </button> <input type="hidden" name="action" value="save-new-world"> </form> issue one: it should be action="/user/profile" issue two: it should be <button class="btn btn-primary btn-sm waves-effect waves-light" role="button" type="submit"> when solving these 2 settings, I manage to get the round trip to server working again, however, the data does not get saved yet needs more debugging as to why the data doesn't get added

stekkedecat commented 1 week ago

Happy to report this has been fixed!

mainIine commented 1 week ago

Yes, I found some time beside my family and fixed it 😊