The Bootstrap popover component uses data attributes for some of its features and those attributes' names changed in BS5. We need to update a few instances which were missed in the Bootstrap 5 upgrade. - data-content - data-trigger
Created attachment 183424 [details] [review] Bug 40222: Bootstrap popover components not updated for BS5 This patch corrects a couple of templates which include a Bootstrap popover component, updating the data attributes which were missed during the BS5 upgrade. The patch also makes a minor change to CSS in order for the popover heading to not have unwanted margins. To test, apply the patch and rebuild the staff interface CSS. - Perform a catalog search in the staff interface. - Add one or more items to the cart. - Open the cart and hover your cursor over the "Items" heading. A popover should be triggered with a message about item sorting. - Go to Administration -> Circulation and Fine rules. - Edit a rule to add content to the "Note" field. - Save the rule and then hover your cursor over the "View note" text. The note you added should appear in a popover. Sponsored-by: Athens County Public Libraries
Created attachment 183514 [details] [review] Bug 40222: Bootstrap popover components not updated for BS5 This patch corrects a couple of templates which include a Bootstrap popover component, updating the data attributes which were missed during the BS5 upgrade. The patch also makes a minor change to CSS in order for the popover heading to not have unwanted margins. To test, apply the patch and rebuild the staff interface CSS. - Perform a catalog search in the staff interface. - Add one or more items to the cart. - Open the cart and hover your cursor over the "Items" heading. A popover should be triggered with a message about item sorting. - Go to Administration -> Circulation and Fine rules. - Edit a rule to add content to the "Note" field. - Save the rule and then hover your cursor over the "View note" text. The note you added should appear in a popover. Sponsored-by: Athens County Public Libraries Signed-off-by: David Flater <flaterdavid@gmail.com>