]> git.koha-community.org Git - koha.git/commit
Bug 20616: Prevent "edit serials" form submission if no serial is selected
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 23 Apr 2018 19:19:50 +0000 (16:19 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 9 Oct 2018 10:56:52 +0000 (12:56 +0200)
commit1ad94323f73fda8b6998955b0779fdde752be2a8
tree3d690715d48580d53f3b82658a0368cea77f34ca
parentcc22607d83961f0a07ec2596aa96131632f68363
Bug 20616: Prevent "edit serials" form submission if no serial is selected

In order to prevent the form to submit and gives an ugly error if no
issues are selected we will make sure at least one is checked otherwise
an alert will be displayed.

Test plan:
- create a subscrpition
- go to the serials collection page
- don't check any checkboxes for serials
- click 'Edit serials'

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
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 e14ee4ad0a033354052726ff401f8ee4f64dd2b9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt