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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc (-5 lines)
Lines 57-67 Link Here
57
            is_confirmed = confirm(_("Are you sure you want to delete this record?"));
57
            is_confirmed = confirm(_("Are you sure you want to delete this record?"));
58
        }
58
        }
59
        if (is_confirmed) {
59
        if (is_confirmed) {
60
            if ( count > 0 || holdcount > 0 ){
61
                return false;
62
            } else {
63
                window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&biblionumber=[% biblionumber %]";
60
                window.location="/cgi-bin/koha/cataloguing/addbiblio.pl?op=delete&biblionumber=[% biblionumber %]";
64
            }
65
	} else {
61
	} else {
66
            return false;
62
            return false;
67
	}
63
	}
68
- 

Return to bug 14518