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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-1 / +1 lines)
Lines 626-632 Link Here
626
626
627
        $(document).ready(function(){
627
        $(document).ready(function(){
628
            [% IF AcqCreateItemOrdering and not basket.is_standing %]
628
            [% IF AcqCreateItemOrdering and not basket.is_standing %]
629
                cloneItemBlock(0, '[% UniqueItemFields | html %]', null, [% biblionumber | html %]);
629
                cloneItemBlock(0, '[% UniqueItemFields | html %]');
630
            [% END %]
630
            [% END %]
631
631
632
            [% IF ( suggestionid ) %]updateCosts();[% END %]
632
            [% IF ( suggestionid ) %]updateCosts();[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/additem.js (-3 / +1 lines)
Lines 150-156 function deleteItemBlock(node_a, index, unique_item_fields) { Link Here
150
    }
150
    }
151
}
151
}
152
152
153
function cloneItemBlock(index, unique_item_fields, callback, biblionumber) {
153
function cloneItemBlock(index, unique_item_fields, callback) {
154
    var original;
154
    var original;
155
    if(index) {
155
    if(index) {
156
        original = $("#" + index); //original <div>
156
        original = $("#" + index); //original <div>
Lines 167-173 function cloneItemBlock(index, unique_item_fields, callback, biblionumber) { Link Here
167
        url: "/cgi-bin/koha/services/itemrecorddisplay.pl",
167
        url: "/cgi-bin/koha/services/itemrecorddisplay.pl",
168
        dataType: 'html',
168
        dataType: 'html',
169
        data: {
169
        data: {
170
            biblionumber: biblionumber,
171
            frameworkcode: 'ACQ'
170
            frameworkcode: 'ACQ'
172
        },
171
        },
173
        success: function(data) {
172
        success: function(data) {
174
- 

Return to bug 20447