Bug 21113: Corrections to patron merge confirmation prompt
Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
fd0df2ad55
commit
c6198717c4
1 changed files with 2 additions and 2 deletions
|
@ -245,11 +245,11 @@
|
|||
$('.merge-patrons').on('click', function() {
|
||||
var checkedItems = $("input:checked");
|
||||
if ($(checkedItems).length < 2) {
|
||||
alert(_("You must select one or more patrons to remove"));
|
||||
alert(_("You must select two or more patrons to merge"));
|
||||
return false;
|
||||
}
|
||||
$(checkedItems).parents('tr').addClass("warn");
|
||||
if (confirm(_("Are you sure you want to remove the selected patrons?"))) {
|
||||
if (confirm(_("Are you sure you want to merge the selected patrons?"))) {
|
||||
var merge_patrons_url = '/cgi-bin/koha/members/merge-patrons.pl?' +
|
||||
$('.selection:checked')
|
||||
.map(function() {
|
||||
|
|
Loading…
Reference in a new issue