When viewing (not editing) a suggestion in the staff interface there is a "Delete" button in the toolbar. It needs some adjustments: - Should not have the "btn-primary" class - Should have a "deletesuggestion" class to trigger the confirmation - Should not be wrapped in a <fieldset>
Created attachment 168558 [details] [review] Bug 37264: Fix delete button on staff interface's suggestion detail page This patch makes a few minor changes to the suggestion detail page in the staff interface so that the "Delete" button looks correct and works correctly. To test, apply the patch and go to Suggestions in the staff interface. - If necessary, submit a suggestion. You need at least one. - From the suggestions management page, click the title of a suggestion. - At the top of this page should be two buttons, "Edit" and "Delete." They should be styled consistently with each other. - Clicking the "Delete" button should trigger a JavaScript confirmation dialog. Confirming should result in the suggestion being deleted. Sponsored-by: Athens County Public Libraries
Created attachment 168561 [details] [review] Bug 37264: Fix delete button on staff interface's suggestion detail page This patch makes a few minor changes to the suggestion detail page in the staff interface so that the "Delete" button looks correct and works correctly. To test, apply the patch and go to Suggestions in the staff interface. - If necessary, submit a suggestion. You need at least one. - From the suggestions management page, click the title of a suggestion. - At the top of this page should be two buttons, "Edit" and "Delete." They should be styled consistently with each other. - Clicking the "Delete" button should trigger a JavaScript confirmation dialog. Confirming should result in the suggestion being deleted. Sponsored-by: Athens County Public Libraries Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Picked from QA queue to push to main.
Pushed for 24.11! Well done everyone, thank you!