]> git.koha-community.org Git - koha.git/commit
Bug 36151: Update leaflet.js
authorThomas Klausner <domm@plix.at>
Mon, 6 May 2024 12:39:35 +0000 (12:39 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 7 May 2024 13:53:50 +0000 (15:53 +0200)
commit2a20cbb94a8e4d54279d80c136e09a29361bfcfd
tree51d4740c46d7495aa8f46e08f845b6a8aa103f6f
parent5ddd89cbb29fec150e65a99ef99e84269a84b781
Bug 36151: Update leaflet.js

Koha currently comes with leaflet.js 1.0.3 which is quite old (2017).
For GeoSearch (Bug 31652) we need a more current leaflet.js, so this
patch updates leaflet.js to the current version 1.9.4

Test plan:

* Go to staff /cgi-bin/koha/admin/usage_statistics.pl where you see a
  map and can set the location of the library by clicking on the map.
* Apply the patch
* Again, go to staff /cgi-bin/koha/admin/usage_statistics.pl
* Do a complete reload of the page
* It should still work:
  * Display the location as a pin
  * Set a new location

There was no code change necessary besides downloading the current
version of leaflet.js and updating the about-page

Sponsored-by: Geosphere Austria
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/lib/leaflet/images/marker-icon-2x.png
koha-tmpl/intranet-tmpl/lib/leaflet/leaflet-src.js
koha-tmpl/intranet-tmpl/lib/leaflet/leaflet-src.map [deleted file]
koha-tmpl/intranet-tmpl/lib/leaflet/leaflet.css
koha-tmpl/intranet-tmpl/lib/leaflet/leaflet.js
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt