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

(-)a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js (-4 lines)
Lines 25-33 $(document).ready(function(){ Link Here
25
            $(edit_link).text( LABEL_EDIT_ITEM );
25
            $(edit_link).text( LABEL_EDIT_ITEM );
26
            var delete_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&frameworkcode=' + frameworkcode + '&biblionumber=' + biblionumber + '&itemnumber=' + num_rowid + '&searchid=' + searchid + '"></a>');
26
            var delete_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&frameworkcode=' + frameworkcode + '&biblionumber=' + biblionumber + '&itemnumber=' + num_rowid + '&searchid=' + searchid + '"></a>');
27
            $(delete_link).text( LABEL_DELETE_ITEM );
27
            $(delete_link).text( LABEL_DELETE_ITEM );
28
            $(delete_link).on('click', function() {
29
                return confirm_deletion();
30
            });
31
            var tools_node = $('<span class="linktools"></span>');
28
            var tools_node = $('<span class="linktools"></span>');
32
            $(tools_node).append(edit_link);
29
            $(tools_node).append(edit_link);
33
            $(tools_node).append(delete_link);
30
            $(tools_node).append(delete_link);
34
- 

Return to bug 36327