cat-toolbar.inc and members-toolbar.inc contain event attributes which should be removed in favor of defining events in JavaScript.
Created attachment 53790 [details] [review] Bug 16995 - Remove event attributes from two include files This patch removes event attributes from two include files: cat-toolbar.inc and members-toolbar.inc. In cat-toolbar.inc an unused <form> tag with an "onsubmit" attribute has been removed. To test, apply the patch and: - View the detail page for any bibliographic record. All toolbar buttons ("New," "Edit," "Save," etc.) should work as expected. - View the detail page for any patron. Click the "Add message" button in the toolbar. Selecting a predefined note should correctly populate the textarea with your selected message.
Created attachment 53812 [details] [review] Bug 16995 - Remove event attributes from two include files This patch removes event attributes from two include files: cat-toolbar.inc and members-toolbar.inc. In cat-toolbar.inc an unused <form> tag with an "onsubmit" attribute has been removed. To test, apply the patch and: - View the detail page for any bibliographic record. All toolbar buttons ("New," "Edit," "Save," etc.) should work as expected. - View the detail page for any patron. Click the "Add message" button in the toolbar. Selecting a predefined note should correctly populate the textarea with your selected message. Signed-off-by: Claire Gravely <c.gravely@arts.ac.uk>
Created attachment 53822 [details] [review] [PASSED QA] Bug 16995 - Remove event attributes from two include files This patch removes event attributes from two include files: cat-toolbar.inc and members-toolbar.inc. In cat-toolbar.inc an unused <form> tag with an "onsubmit" attribute has been removed. To test, apply the patch and: - View the detail page for any bibliographic record. All toolbar buttons ("New," "Edit," "Save," etc.) should work as expected. - View the detail page for any patron. Click the "Add message" button in the toolbar. Selecting a predefined note should correctly populate the textarea with your selected message. Signed-off-by: Claire Gravely <c.gravely@arts.ac.uk> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 16.11, thanks Owen!