UUDigitalHumanitieslab / catharijneverhalen

Frontend to the online storybase of the Dutch museum Catharijneconvent
https://catharijneverhalen.hum.uu.nl/app/
MIT License
0 stars 0 forks source link

Pressing return in an attachment subform causes the item to be removed instead of saved #33

Closed jgonggrijp closed 7 years ago

jgonggrijp commented 8 years ago

When a form field of an entry in the attachment manager is in focus and the user presses the return key, the item is removed rather than saved. Need to make the save button of type=submit and/or adjust the tabindices.

jgonggrijp commented 8 years ago

For some reason, setting type=submit on the save button and type=reset on the remove button does not get through when I reload the page, even when I completely purge my caches. Need to look into this again when I have more time.