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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-4 / +3 lines)
Lines 90-96 $(document).ready(function(){ Link Here
90
            [% END %]
90
            [% END %]
91
91
92
            $('td:eq(1)', nRow).html(
92
            $('td:eq(1)', nRow).html(
93
                '<a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=' + aData['import_record_id'] + '" class="previewMARC">' + aData['citation'] + '</a>'
93
                '<a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=' + aData['import_record_id'] + '&viewas=html" class="previewMARC">' + aData['citation'] + '</a>'
94
            );
94
            );
95
95
96
            $('td:eq(2)', nRow).html(
96
            $('td:eq(2)', nRow).html(
Lines 123-129 $(document).ready(function(){ Link Here
123
            }
123
            }
124
            if (aData['diff_url']){
124
            if (aData['diff_url']){
125
                $('td:eq(5)', nRow).html(
125
                $('td:eq(5)', nRow).html(
126
                    '<a rel="gb_page_center[960,600]" href="'+aData['diff_url']+'">View</a>'
126
                    '<a href="'+aData['diff_url']+'">View</a>'
127
                );
127
                );
128
            }
128
            }
129
            $('td:eq(6)', nRow).html(
129
            $('td:eq(6)', nRow).html(
Lines 138-144 $(document).ready(function(){ Link Here
138
        var ltitle = $(this).text();
138
        var ltitle = $(this).text();
139
        var page = $(this).attr("href");
139
        var page = $(this).attr("href");
140
        $("#marcPreviewLabel").text(ltitle);
140
        $("#marcPreviewLabel").text(ltitle);
141
        $("#marcPreview .modal-body").load(page + " pre");
141
        $("#marcPreview .modal-body").load(page + " table");
142
        $('#marcPreview').modal({show:true});
142
        $('#marcPreview').modal({show:true});
143
    });
143
    });
144
    $("#marcPreview").on("hidden", function(){
144
    $("#marcPreview").on("hidden", function(){
145
- 

Return to bug 15327