]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1411699: Make Dojo conditional for advanced search user/dbs/lp1411699_dojo_conditional_advanced
authorDan Scott <dscott@laurentian.ca>
Sun, 2 Apr 2017 14:45:00 +0000 (10:45 -0400)
committerDan Scott <dscott@laurentian.ca>
Sun, 2 Apr 2017 14:45:00 +0000 (10:45 -0400)
commitbc38f7d5fa2852993b1badfac09ff3448e51bbdb
tree2a5256987d068174d955503302ab082354a62fb7
parentc85e457b777b82b62c3e9f1c5ca2fd7eb9a73bcd
LP#1411699: Make Dojo conditional for advanced search

While the copy locations filter is a core feature, it surfaces only in the
advanced search page. The current behaviour forces Dojo and all of its
dependencies to be loaded for every catalogue page.

By making it conditional on the advanced search page, we save approximately
600ms to first meaningful paint on the rest of the catalogue pages.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/header.tt2