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 701-709 Link Here
701
                $("body").on("click", ".deleteshelf", function(){
701
                $("body").on("click", ".deleteshelf", function(){
702
                    return confirmDelete(MSG_CONFIRM_DELETE_LIST);
702
                    return confirmDelete(MSG_CONFIRM_DELETE_LIST);
703
                });
703
                });
704
                $("body").on("click", ".delete-list",function(){
705
                    return confirm(_("Are you sure you want to delete this list?"));
706
                });
707
            });
704
            });
708
        [% END # /IF op == 'list' %]
705
        [% END # /IF op == 'list' %]
709
706
(-)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> ' _ t("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