@@ -, +, @@ when ordering from staged files that the correct data is shown each time. --- .../prog/en/modules/acqui/addorderiso2709.tt | 28 ++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt @@ -7,8 +7,8 @@ › Batch list [% END %] -[% INCLUDE 'greybox.inc' %] + [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables.inc' %] @@ -139,6 +139,18 @@ return disableUnchecked($(this)); }); $('#tabs').tabs(); + $(".previewData").on("click", function(e){ + e.preventDefault(); + var ltitle = $(this).text(); + var page = $(this).attr("href"); + $("#dataPreviewLabel").text(ltitle); + $("#dataPreview .modal-body").load(page + " div"); + $('#dataPreview').modal({show:true}); + }); + $("#dataPreview").on("hidden", function(){ + $("#dataPreviewLabel").html(""); + $("#dataPreview .modal-body").html("
\"\" "+_("Loading")+"
"); + }); }); function disableUnchecked(form){ @@ -199,7 +211,7 @@ [% biblio.citation %] - ( MARC | Card | Add order ) + ( MARC | Card | Add order )
    @@ -265,6 +277,18 @@
+ [% END %]
--