]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1411699 Dojoless advanced copy location search
authorDan Scott <dscott@laurentian.ca>
Tue, 2 May 2017 04:23:38 +0000 (00:23 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 3 May 2017 17:22:10 +0000 (13:22 -0400)
commitfb995d49d11b022a0fa9f37c1923a6dda0cfed0b
tree7ae66828bceb4d82694e2de35af2808362dbfd01
parent825f4aaf8e407a42ddd30ce558303696aa7ecd47
LP#1411699 Dojoless advanced copy location search

We still use OpenSRF to make the request, but now use the URLSearchParams API +
polyfill for CGI parsing.

URLSearchParams is a browser API implemented on Chrome, Firefox, and Safari,
and a polyfill is available for IE etc from
https://github.com/WebReflection/url-search-params.

This lets us avoid loading Dojo and just rely on the core, much smaller OpenSRF
JS libraries to communicate with the server.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/js.tt2
Open-ILS/web/js/ui/default/opac/copyloc.js