In order to conform to best practices for performance staff client template javascript should be in the footer instead of the header. This patch will do so for system preferences, both standard and local.
Created attachment 69436 [details] [review] Bug 19726 - Move admin templates JavaScript to the footer: Preferences This patch modifies the staff client's system preferences templates so that JavaScript is included in the footer instead of the header. To test, apply the patch and test the JavaScript-driven features of both the standard and local use system preferences: - WYSIWYG editor - Confirmation messages - Table sorting - Multiple selects (CoceProviders for example)
Created attachment 69500 [details] [review] Bug 19726 - Move admin templates JavaScript to the footer: Preferences This patch modifies the staff client's system preferences templates so that JavaScript is included in the footer instead of the header. To test, apply the patch and test the JavaScript-driven features of both the standard and local use system preferences: - WYSIWYG editor - Confirmation messages - Table sorting - Multiple selects (CoceProviders for example) Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Created attachment 69601 [details] [review] Bug 19726 - Move admin templates JavaScript to the footer: Preferences This patch modifies the staff client's system preferences templates so that JavaScript is included in the footer instead of the header. To test, apply the patch and test the JavaScript-driven features of both the standard and local use system preferences: - WYSIWYG editor - Confirmation messages - Table sorting - Multiple selects (CoceProviders for example) Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Pushed to master for 18.05, thanks to everybody involved!
Awesome work all! Skipping for 17.11, enhancement.