Bug 41573: Tidy kohaTable - patron_lists/lists.tt
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
15ae4719fe
commit
49ff9c7199
|
|
@ -162,6 +162,11 @@
|
|||
[% MACRO jsinclude BLOCK %]
|
||||
[% Asset.js("js/tools-menu.js") | $raw %]
|
||||
[% INCLUDE 'datatables.inc' %]
|
||||
<script>
|
||||
const interface = "[% interface | html %]";
|
||||
const theme = "[% theme | html %]";
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var patronExportModal = $("#patronExportModal");
|
||||
|
|
@ -211,13 +216,13 @@
|
|||
});
|
||||
|
||||
patronExportModal.on("hidden.bs.modal", function(){
|
||||
patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
|
||||
patronExportModalBody.html("<div id=\"loading\"><img src=\"" + interface + "/" + theme + "/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
|
||||
});
|
||||
|
||||
patronExportModal.on("submit", "#exportingf", function(e){
|
||||
e.preventDefault();
|
||||
modal_body = patronExportModalBody;
|
||||
modal_body.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
|
||||
modal_body.html("<div id=\"loading\"><img src=\"" + interface + "/" + theme + "/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
|
||||
target_url = $(this).attr("action");
|
||||
params = $( this ).serialize();
|
||||
$("#patronExportModal .modal-body").load( target_url + "?" + params + " #export_patron_list");
|
||||
|
|
|
|||
Loading…
Reference in New Issue