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 | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
567
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
568
            });
568
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt (-1 / +1 lines)
Lines 140-146 Link Here
140
                e.preventDefault();
140
                e.preventDefault();
141
                EDIModal.modal("hide");
141
                EDIModal.modal("hide");
142
            });
142
            });
143
            EDIModal.on("hidden", function(){
143
            EDIModal.on("hidden.bs.modal", function(){
144
                EDIModalBody.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
144
                EDIModalBody.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
145
            });
145
            });
146
            $(".delete_msg").on("click",function(){
146
            $(".delete_msg").on("click",function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt (-1 / +1 lines)
Lines 130-136 Link Here
130
                $("#marcPreview .modal-body").load(page + " table");
130
                $("#marcPreview .modal-body").load(page + " table");
131
                $('#marcPreview').modal({show:true});
131
                $('#marcPreview').modal({show:true});
132
            });
132
            });
133
            $("#marcPreview").on("hidden", function(){
133
            $("#marcPreview").on("hidden.bs.modal", function(){
134
                $("#marcPreviewLabel").html("");
134
                $("#marcPreviewLabel").html("");
135
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
135
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
136
            });
136
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-1 / +1 lines)
Lines 546-552 Link Here
546
                $("#dataPreview .modal-body").load(page + " div");
546
                $("#dataPreview .modal-body").load(page + " div");
547
                $('#dataPreview').modal({show:true});
547
                $('#dataPreview').modal({show:true});
548
            });
548
            });
549
            $("#dataPreview").on("hidden", function(){
549
            $("#dataPreview").on("hidden.bs.modal", function(){
550
                $("#dataPreviewLabel").html("");
550
                $("#dataPreviewLabel").html("");
551
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
551
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
552
            });
552
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +1 lines)
Lines 1055-1061 Link Here
1055
                $("#marcPreview .modal-body").load(page + " table");
1055
                $("#marcPreview .modal-body").load(page + " table");
1056
                $('#marcPreview').modal({show:true});
1056
                $('#marcPreview').modal({show:true});
1057
            });
1057
            });
1058
            $("#marcPreview").on("hidden", function(){
1058
            $("#marcPreview").on("hidden.bs.modal", function(){
1059
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1059
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1060
            });
1060
            });
1061
            [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
1061
            [% 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 | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
253
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
254
            });
254
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-1 / +1 lines)
Lines 202-208 div#result { margin-top: 1em; } Link Here
202
                    $("#dataPreview .modal-body").load(page + " div");
202
                    $("#dataPreview .modal-body").load(page + " div");
203
                    $('#dataPreview').modal({show:true});
203
                    $('#dataPreview').modal({show:true});
204
                });
204
                });
205
                $("#dataPreview").on("hidden", function(){
205
                $("#dataPreview").on("hidden.bs.modal", function(){
206
                    $("#dataPreviewLabel").html("");
206
                    $("#dataPreviewLabel").html("");
207
                    $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
207
                    $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
208
                });
208
                });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt (-1 / +1 lines)
Lines 150-156 Link Here
150
                patronExportModal.modal("show");
150
                patronExportModal.modal("show");
151
            });
151
            });
152
152
153
            patronExportModal.on("hidden", function(){
153
            patronExportModal.on("hidden.bs.modal", function(){
154
                patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
154
                patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
155
            });
155
            });
156
156
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-1 / +1 lines)
Lines 301-307 Link Here
301
                $("#marcPreview .modal-body").load(page + " div");
301
                $("#marcPreview .modal-body").load(page + " div");
302
                $('#marcPreview').modal({show:true});
302
                $('#marcPreview').modal({show:true});
303
            });
303
            });
304
            $("#marcPreview").on("hidden", function(){
304
            $("#marcPreview").on("hidden.bs.modal", function(){
305
                $("#marcPreviewLabel").html("");
305
                $("#marcPreviewLabel").html("");
306
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
306
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
307
            });
307
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-2 / +1 lines)
Lines 494-500 Link Here
494
                $("#marcPreview .modal-body").load(page + " table");
494
                $("#marcPreview .modal-body").load(page + " table");
495
                $('#marcPreview').modal({show:true});
495
                $('#marcPreview').modal({show:true});
496
            });
496
            });
497
            $("#marcPreview").on("hidden", function(){
497
            $("#marcPreview").on("hidden.bs.modal", function(){
498
                $("#marcPreviewLabel").html("");
498
                $("#marcPreviewLabel").html("");
499
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
499
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
500
            });
500
            });
501
- 

Return to bug 21186