Bug 31082: (follow-up) same for "remove" action button on bundle item list
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 826db3092b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
3b37423d82
commit
eb9ba1f875
|
|
@ -1915,7 +1915,7 @@
|
|||
"data": function( row, type, val, meta ) {
|
||||
var result;
|
||||
if (duedate) {
|
||||
result = '<button class="btn btn-default btn-xs remove disabled" role="button" data-itemnumber="'+row.item_id+'"><i class="fa fa-minus" aria-hidden="true"></i> '+_("Remove")+'</button>\n';
|
||||
result = '<button class="btn btn-default btn-xs remove disabled" role="button" data-itemnumber="'+row.item_id+'" title="This bundle is checked out, it cannot be modified"><i class="fa fa-minus" aria-hidden="true"></i> '+_("Remove")+'</button>\n';
|
||||
} else {
|
||||
result = '<button class="btn btn-default btn-xs remove" role="button" data-itemnumber="'+row.item_id+'"><i class="fa fa-minus" aria-hidden="true"></i> '+_("Remove")+'</button>\n';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue