https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38842
--- Comment #2 from Emily Lamancusa (emlam) <[email protected]> --- Work in progress for a reusable modal wrapper - posting for feedback! I tried to walk the line between flexibility and reusability, but I'm definitely open to feedback on the overall structure and how data is passed. I wasn't really sure about how to do the print button, since existing modals seem to do it in many different ways. Is a standardized print button realistic, or are different methods really necessary depending on the circumstances? See the commit message for usage. Most inputs that should be included in the modal form should usually be included in the modal body, though modal_footer_append can be used to add additional inputs into the footer. The <form> tag itself should NOT be included in the modal body; it is already included in the wrapper. Most components within the modal have a predictable id, based on the modal_id parameter, so that they can easily be targeted with Javascript. Any feedback is welcome and appreciated! -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
