]> git.koha-community.org Git - koha.git/commit
Bug 37797: Change cancel button to a link styled as a button
authorEmily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Fri, 30 Aug 2024 20:50:36 +0000 (16:50 -0400)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 13 Sep 2024 14:06:26 +0000 (16:06 +0200)
commit1f4be98d7f3717368f54c6e92785ee4796d43471
treec13076b57acf7a1035d5bf12fbeff0e42948c361
parent982ba9e8a11a1fa61ad47ed8d50394192157062f
Bug 37797: Change cancel button to a link styled as a button

On the confirmation page for deleting a budget, change "Do not delete"
from a form submission to a link (styled to look like a button) in order
to avoid errors from POSTing with no op.

To test:
1. Go to Acquisitions > Budgets
2. Create a test budget
3. Attempt to delete the test budget
4. On the confirmation page, click "No, don't delete"
--> An error appears saying that the form was POSTed with no op!
5. Apply patch
6. Repeat steps 3-4
--> You are linked back to the Budgets page. The budget was not deleted.

Signed-off-by: Chloe Zermatten <chloe.zermatten@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt