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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-1 / +1 lines)
Lines 562-568 Link Here
562
                $("#dataPreview .modal-body").load(page + " div");
562
                $("#dataPreview .modal-body").load(page + " div");
563
                $('#dataPreview').modal({show:true});
563
                $('#dataPreview').modal({show:true});
564
            });
564
            });
565
            $("#dataPreview").on("hidden", function(){
565
            $("#dataPreview").on("hidden.bs.modal", function(){
566
                $("#dataPreviewLabel").html("");
566
                $("#dataPreviewLabel").html("");
567
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
567
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
568
            });
568
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt (-1 / +1 lines)
Lines 139-145 Link Here
139
                e.preventDefault();
139
                e.preventDefault();
140
                EDIModal.modal("hide");
140
                EDIModal.modal("hide");
141
            });
141
            });
142
            EDIModal.on("hidden", function(){
142
            EDIModal.on("hidden.bs.modal", function(){
143
                EDIModalBody.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
143
                EDIModalBody.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
144
            });
144
            });
145
            $(".delete_msg").on("click",function(){
145
            $(".delete_msg").on("click",function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt (-1 / +1 lines)
Lines 127-133 Link Here
127
                $("#marcPreview .modal-body").load(page + " table");
127
                $("#marcPreview .modal-body").load(page + " table");
128
                $('#marcPreview').modal({show:true});
128
                $('#marcPreview').modal({show:true});
129
            });
129
            });
130
            $("#marcPreview").on("hidden", function(){
130
            $("#marcPreview").on("hidden.bs.modal", function(){
131
                $("#marcPreviewLabel").html("");
131
                $("#marcPreviewLabel").html("");
132
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
132
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
133
            });
133
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-1 / +1 lines)
Lines 535-541 Link Here
535
                $("#dataPreview .modal-body").load(page + " div");
535
                $("#dataPreview .modal-body").load(page + " div");
536
                $('#dataPreview').modal({show:true});
536
                $('#dataPreview').modal({show:true});
537
            });
537
            });
538
            $("#dataPreview").on("hidden", function(){
538
            $("#dataPreview").on("hidden.bs.modal", function(){
539
                $("#dataPreviewLabel").html("");
539
                $("#dataPreviewLabel").html("");
540
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
540
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
541
            });
541
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +1 lines)
Lines 1038-1044 Link Here
1038
                $("#marcPreview .modal-body").load(page + " table");
1038
                $("#marcPreview .modal-body").load(page + " table");
1039
                $('#marcPreview').modal({show:true});
1039
                $('#marcPreview').modal({show:true});
1040
            });
1040
            });
1041
            $("#marcPreview").on("hidden", function(){
1041
            $("#marcPreview").on("hidden.bs.modal", function(){
1042
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1042
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1043
            });
1043
            });
1044
            [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
1044
            [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-1 / +1 lines)
Lines 248-254 Link Here
248
                $("#dataPreview .modal-body").load(page + " div");
248
                $("#dataPreview .modal-body").load(page + " div");
249
                $('#dataPreview').modal({show:true});
249
                $('#dataPreview').modal({show:true});
250
            });
250
            });
251
            $("#dataPreview").on("hidden", function(){
251
            $("#dataPreview").on("hidden.bs.modal", function(){
252
                $("#dataPreviewLabel").html("");
252
                $("#dataPreviewLabel").html("");
253
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
253
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
254
            });
254
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-1 / +1 lines)
Lines 204-210 div#result { margin-top: 1em; } Link Here
204
                    $("#dataPreview .modal-body").load(page + " div");
204
                    $("#dataPreview .modal-body").load(page + " div");
205
                    $('#dataPreview').modal({show:true});
205
                    $('#dataPreview').modal({show:true});
206
                });
206
                });
207
                $("#dataPreview").on("hidden", function(){
207
                $("#dataPreview").on("hidden.bs.modal", function(){
208
                    $("#dataPreviewLabel").html("");
208
                    $("#dataPreviewLabel").html("");
209
                    $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
209
                    $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
210
                });
210
                });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt (-1 / +1 lines)
Lines 146-152 Link Here
146
                patronExportModal.modal("show");
146
                patronExportModal.modal("show");
147
            });
147
            });
148
148
149
            patronExportModal.on("hidden", function(){
149
            patronExportModal.on("hidden.bs.modal", function(){
150
                patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
150
                patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
151
            });
151
            });
152
152
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-1 / +1 lines)
Lines 300-306 Link Here
300
                $("#marcPreview .modal-body").load(page + " div");
300
                $("#marcPreview .modal-body").load(page + " div");
301
                $('#marcPreview').modal({show:true});
301
                $('#marcPreview').modal({show:true});
302
            });
302
            });
303
            $("#marcPreview").on("hidden", function(){
303
            $("#marcPreview").on("hidden.bs.modal", function(){
304
                $("#marcPreviewLabel").html("");
304
                $("#marcPreviewLabel").html("");
305
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
305
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
306
            });
306
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-2 / +1 lines)
Lines 493-499 Link Here
493
                $("#marcPreview .modal-body").load(page + " table");
493
                $("#marcPreview .modal-body").load(page + " table");
494
                $('#marcPreview').modal({show:true});
494
                $('#marcPreview').modal({show:true});
495
            });
495
            });
496
            $("#marcPreview").on("hidden", function(){
496
            $("#marcPreview").on("hidden.bs.modal", function(){
497
                $("#marcPreviewLabel").html("");
497
                $("#marcPreviewLabel").html("");
498
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
498
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
499
            });
499
            });
500
- 

Return to bug 21186