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 563-569 Link Here
563
                $("#dataPreview .modal-body").load(page + " div");
563
                $("#dataPreview .modal-body").load(page + " div");
564
                $('#dataPreview').modal({show:true});
564
                $('#dataPreview').modal({show:true});
565
            });
565
            });
566
            $("#dataPreview").on("hidden", function(){
566
            $("#dataPreview").on("hidden.bs.modal", function(){
567
                $("#dataPreviewLabel").html("");
567
                $("#dataPreviewLabel").html("");
568
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
568
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
569
            });
569
            });
(-)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 545-551 Link Here
545
                $("#dataPreview .modal-body").load(page + " div");
545
                $("#dataPreview .modal-body").load(page + " div");
546
                $('#dataPreview').modal({show:true});
546
                $('#dataPreview').modal({show:true});
547
            });
547
            });
548
            $("#dataPreview").on("hidden", function(){
548
            $("#dataPreview").on("hidden.bs.modal", function(){
549
                $("#dataPreviewLabel").html("");
549
                $("#dataPreviewLabel").html("");
550
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
550
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
551
            });
551
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +1 lines)
Lines 1052-1058 Link Here
1052
                $("#marcPreview .modal-body").load(page + " table");
1052
                $("#marcPreview .modal-body").load(page + " table");
1053
                $('#marcPreview').modal({show:true});
1053
                $('#marcPreview').modal({show:true});
1054
            });
1054
            });
1055
            $("#marcPreview").on("hidden", function(){
1055
            $("#marcPreview").on("hidden.bs.modal", function(){
1056
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1056
                $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
1057
            });
1057
            });
1058
            [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectStaffProfile') && ( normalized_isbn || normalized_upc ) ) %]
1058
            [% 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 249-255 Link Here
249
                $("#dataPreview .modal-body").load(page + " div");
249
                $("#dataPreview .modal-body").load(page + " div");
250
                $('#dataPreview').modal({show:true});
250
                $('#dataPreview').modal({show:true});
251
            });
251
            });
252
            $("#dataPreview").on("hidden", function(){
252
            $("#dataPreview").on("hidden.bs.modal", function(){
253
                $("#dataPreviewLabel").html("");
253
                $("#dataPreviewLabel").html("");
254
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
254
                $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
255
            });
255
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-1 / +1 lines)
Lines 205-211 div#result { margin-top: 1em; } Link Here
205
                    $("#dataPreview .modal-body").load(page + " div");
205
                    $("#dataPreview .modal-body").load(page + " div");
206
                    $('#dataPreview').modal({show:true});
206
                    $('#dataPreview').modal({show:true});
207
                });
207
                });
208
                $("#dataPreview").on("hidden", function(){
208
                $("#dataPreview").on("hidden.bs.modal", function(){
209
                    $("#dataPreviewLabel").html("");
209
                    $("#dataPreviewLabel").html("");
210
                    $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
210
                    $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
211
                });
211
                });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt (-1 / +1 lines)
Lines 147-153 Link Here
147
                patronExportModal.modal("show");
147
                patronExportModal.modal("show");
148
            });
148
            });
149
149
150
            patronExportModal.on("hidden", function(){
150
            patronExportModal.on("hidden.bs.modal", function(){
151
                patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
151
                patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
152
            });
152
            });
153
153
(-)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