View | Details | Raw Unified | Return to bug 38302
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-3 lines)
Lines 702-710 Link Here
702
                $("body").on("click", ".deleteshelf", function(){
702
                $("body").on("click", ".deleteshelf", function(){
703
                    return confirmDelete(MSG_CONFIRM_DELETE_LIST);
703
                    return confirmDelete(MSG_CONFIRM_DELETE_LIST);
704
                });
704
                });
705
                $("body").on("click", ".delete-list",function(){
706
                    return confirm(_("Are you sure you want to delete this list?"));
707
                });
708
            });
705
            });
709
        [% END # /IF op == 'list' %]
706
        [% END # /IF op == 'list' %]
710
707
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/tables/shelves_results.tt (-2 / +1 lines)
Lines 54-60 Link Here
54
        [%~ action_block = action_block _ '<input type="hidden" name="shelfnumber" value="' _ shelfnumber  _ '" />' ~%]
54
        [%~ action_block = action_block _ '<input type="hidden" name="shelfnumber" value="' _ shelfnumber  _ '" />' ~%]
55
        [%~ action_block = action_block _ '<input type="hidden" name="public" value="' _ public _ '" />' ~%]
55
        [%~ action_block = action_block _ '<input type="hidden" name="public" value="' _ public _ '" />' ~%]
56
        [%~ action_block = action_block _ '<input type="hidden" name="referer" value="list" />' ~%]
56
        [%~ action_block = action_block _ '<input type="hidden" name="referer" value="list" />' ~%]
57
        [%~ action_block = action_block _ '<button type="submit" class="delete-list btn btn-default btn-xs"><i class="fa fa-trash-can"></i> Delete</button>' ~%]
57
        [%~ action_block = action_block _ '<button type="submit" class="deleteshelf btn btn-default btn-xs"><i class="fa fa-trash-can"></i> Delete</button>' ~%]
58
        [%~ action_block = action_block _ '</form>' ~%]
58
        [%~ action_block = action_block _ '</form>' ~%]
59
    [%~ END ~%]
59
    [%~ END ~%]
60
    [%~ IF public AND allow_transfer ~%]
60
    [%~ IF public AND allow_transfer ~%]
61
- 

Return to bug 38302