]> git.koha-community.org Git - koha.git/commit
Bug 19228: Trigger confirm delete when removing item from course
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 31 Aug 2017 21:18:24 +0000 (21:18 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 10 Oct 2017 09:54:10 +0000 (11:54 +0200)
commit870f562e58c8327565b52d3b10f5a8ed2a000706
treeb13261d39f3ca71571b6c3c88fcb4d2b0d933ae7
parentae405f61c8d4c04361267b500347a496a2ce7d58
Bug 19228: Trigger confirm delete when removing item from course

To test:
1) Enable UseCourseReserves syspref
2) Go to Course Reserves
3) Add a new course if you don't already have one
4) Add an item to the course
5) Click 'remove' to delete the item from the course
6) Notice the item deletes straight away with no confirmation prompt
7) Apply the patch
8) Repeat steps 4 and 5
9) Confirm the confirmation box pops up and works as expected

Sponsored-by: Catalyst IT
Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7aef2f3298b0348c2a3994e344e32e5bc41f1f07)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt