Remove Empolyees
ZapLabSuriname opened this issue · 1 comments
ZapLabSuriname commented
I am trying to remove an employee from the overview by clicking the REMOVE button.
I am then redirected to a page that does not exist. The page you were looking for doesn't excist. You may have mistyped the address or the page may have moved.
- Go to https://fablabs.io/labs/ZapLab
- Click on the button: Manage lab -> edit employee list
- All the Employees appear.
- Click on the REMOVE button near the Employee you want to remove
- a new window appear https://fablabs.io/employees/5656 with the message: The page you were looking for doesn't excist. You may have mistyped the address or the page may have moved.
I expected that there would be a question (do you really want to delete it) where I can click accept.
Desktop (please complete the following information):
- Windows 10
- Browser Firefox
viktorsmari commented
Thank you for this detailed report!
I found out that some javascript library (placeholder.js) was breaking on the site, resulting in the 'Are you sure' popup to break, which also broke the delete method.
I activated the rails-ujs
library and the issue should now be fixed!