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

(-)a/koha-tmpl/intranet-tmpl/prog/js/cataloging_additem.js (-2 / +1 lines)
Lines 23-29 $(document).ready(function(){ Link Here
23
            $(".linktools").remove();
23
            $(".linktools").remove();
24
            var edit_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&frameworkcode=' + frameworkcode + '&biblionumber=' + biblionumber + '&itemnumber=' + num_rowid + '&searchid=' + searchid + '#edititem"></a>');
24
            var edit_link = $('<a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&frameworkcode=' + frameworkcode + '&biblionumber=' + biblionumber + '&itemnumber=' + num_rowid + '&searchid=' + searchid + '#edititem"></a>');
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 class="delete" data-item="'+num_rowid+'" href="#"></a>');
27
            $(delete_link).text( LABEL_DELETE_ITEM );
27
            $(delete_link).text( LABEL_DELETE_ITEM );
28
            var tools_node = $('<span class="linktools"></span>');
28
            var tools_node = $('<span class="linktools"></span>');
29
            $(tools_node).append(edit_link);
29
            $(tools_node).append(edit_link);
30
- 

Return to bug 36327