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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-3 / +2 lines)
Lines 31-38 Link Here
31
    function confirm_deletion() {
31
    function confirm_deletion() {
32
        var count = [% count %];
32
        var count = [% count %];
33
        var holdcount = [% holdcount %];
33
        var holdcount = [% holdcount %];
34
        var countorders = [% countorders %];
34
        var countorders = [% countorders || 0%];
35
        var countdeletedorders = [% countdeletedorders %];
35
        var countdeletedorders = [% countdeletedorders || 0%];
36
        var is_confirmed;
36
        var is_confirmed;
37
	if (count > 0){
37
	if (count > 0){
38
            is_confirmed = alert( count + " " +_("item(s) are attached to this record. You must delete all items before deleting this record.") );
38
            is_confirmed = alert( count + " " +_("item(s) are attached to this record. You must delete all items before deleting this record.") );
39
- 

Return to bug 11324