Bug 25363: Merge common.js with staff-global.js
authorOwen Leonard <oleonard@myacpl.org>
Mon, 4 May 2020 12:36:57 +0000 (12:36 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 17 Jun 2020 23:29:39 +0000 (23:29 +0000)
commit9526d6efea15c95d3d0d1195f3ba72b7f7f7c7d1
tree66bde4f151b349907f817ec1932b16ed672e21df
parent18e7cf8db66a616d5fe97a7d980644475b3c0cad
Bug 25363: Merge common.js with staff-global.js

This patch merges the contents of common.js with staff-global.js. Both
are included globally in the staff interface, and there doesn't seem to
be any reason to require that the user downloads two different
JavaScript files.

To test, apply the patch and perform a catalog search in the staff
client.

View the detail page for a title in the search results. On the detail
page you should see navigation controls in the sidebar for browsing
through search results. Confirm they work correctly.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 814a7ecf47b087a60b35bca6a4d23deeb596a0e8)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc
koha-tmpl/intranet-tmpl/prog/js/commons.js [deleted file]
koha-tmpl/intranet-tmpl/prog/js/staff-global.js