]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Apr 2018 14:30:29 +0000 (11:30 -0300)
commite14ee4ad0a033354052726ff401f8ee4f64dd2b9
tree0524ec2d804a401b6cda9fead555bc5f9c85a967
parentfc082c26a18392a029d60ef76db6d358c073d17c
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>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt