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

(-)a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css (-1 / +1 lines)
Lines 1956-1962 div#acqui_order_supplierlist > div.supplier > div.baskets { Link Here
1956
    color: #212121;
1956
    color: #212121;
1957
}
1957
}
1958
.ui-autocomplete-loading {
1958
.ui-autocomplete-loading {
1959
    background: #FFF url("../img/loading-small.gif") right center no-repeat;
1959
    background: #FFF url("../img/spinner-small.gif") right center no-repeat;
1960
}
1960
}
1961
1961
1962
/* jQuery UI standard tabs */
1962
/* jQuery UI standard tabs */
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-2 / +2 lines)
Lines 149-155 Link Here
149
        });
149
        });
150
        $("#dataPreview").on("hidden", function(){
150
        $("#dataPreview").on("hidden", function(){
151
            $("#dataPreviewLabel").html("");
151
            $("#dataPreviewLabel").html("");
152
            $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
152
            $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
153
        });
153
        });
154
    });
154
    });
155
155
Lines 307-313 Link Here
307
                                    <h3 id="dataPreviewLabel">MARC preview</h3>
307
                                    <h3 id="dataPreviewLabel">MARC preview</h3>
308
                                </div>
308
                                </div>
309
                                <div class="modal-body">
309
                                <div class="modal-body">
310
                                    <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
310
                                    <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
311
                                </div>
311
                                </div>
312
                                <div class="modal-footer">
312
                                <div class="modal-footer">
313
                                    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
313
                                    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/edifactmsgs.tt (-2 / +2 lines)
Lines 29-35 $(document).ready(function() { Link Here
29
        EDIModal.modal("hide");
29
        EDIModal.modal("hide");
30
    });
30
    });
31
    EDIModal.on("hidden", function(){
31
    EDIModal.on("hidden", function(){
32
        EDIModalBody.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
32
        EDIModalBody.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
33
    });
33
    });
34
    $(".delete_msg").on("click",function(){
34
    $(".delete_msg").on("click",function(){
35
        return confirm(_("Are you sure you want to delete this message?"));
35
        return confirm(_("Are you sure you want to delete this message?"));
Lines 116-122 $(document).ready(function() { Link Here
116
        <h3 id="EDI_modal_label">EDIFACT message</h3>
116
        <h3 id="EDI_modal_label">EDIFACT message</h3>
117
    </div>
117
    </div>
118
    <div class="modal-body">
118
    <div class="modal-body">
119
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
119
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
120
    </div>
120
    </div>
121
    <div class="modal-footer">
121
    <div class="modal-footer">
122
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
122
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt (-2 / +2 lines)
Lines 23-29 Link Here
23
    });
23
    });
24
    $("#marcPreview").on("hidden", function(){
24
    $("#marcPreview").on("hidden", function(){
25
        $("#marcPreviewLabel").html("");
25
        $("#marcPreviewLabel").html("");
26
        $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
26
        $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
27
    });
27
    });
28
 });
28
 });
29
 //]]>
29
 //]]>
Lines 107-113 Link Here
107
            <h3 id="marcPreviewLabel">MARC preview</h3>
107
            <h3 id="marcPreviewLabel">MARC preview</h3>
108
        </div>
108
        </div>
109
        <div class="modal-body">
109
        <div class="modal-body">
110
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
110
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
111
        </div>
111
        </div>
112
        <div class="modal-footer">
112
        <div class="modal-footer">
113
            <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
113
            <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-2 / +2 lines)
Lines 114-120 Link Here
114
        });
114
        });
115
        $("#dataPreview").on("hidden", function(){
115
        $("#dataPreview").on("hidden", function(){
116
            $("#dataPreviewLabel").html("");
116
            $("#dataPreviewLabel").html("");
117
            $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
117
            $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
118
        });
118
        });
119
119
120
    });
120
    });
Lines 469-475 Link Here
469
        <h3 id="dataPreviewLabel">MARC preview</h3>
469
        <h3 id="dataPreviewLabel">MARC preview</h3>
470
    </div>
470
    </div>
471
    <div class="modal-body">
471
    <div class="modal-body">
472
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
472
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
473
    </div>
473
    </div>
474
    <div class="modal-footer">
474
    <div class="modal-footer">
475
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
475
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt (-1 / +1 lines)
Lines 157-163 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
157
            <h3 id="dataPreviewLabel">MARC preview</h3>
157
            <h3 id="dataPreviewLabel">MARC preview</h3>
158
        </div>
158
        </div>
159
        <div class="modal-body">
159
        <div class="modal-body">
160
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
160
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
161
        </div>
161
        </div>
162
        <div class="modal-footer">
162
        <div class="modal-footer">
163
            <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
163
            <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-2 / +2 lines)
Lines 186-192 Link Here
186
                  <input type="hidden" name="frameworkcode" value="default" />
186
                  <input type="hidden" name="frameworkcode" value="default" />
187
                  <input type="hidden" name="action" value="import" />
187
                  <input type="hidden" name="action" value="import" />
188
                  <p><label for="file_import_default">Upload file:</label> <input type="file" name="file_import_default" id="file_import_default" class="input_import" /></p>
188
                  <p><label for="file_import_default">Upload file:</label> <input type="file" name="file_import_default" id="file_import_default" class="input_import" /></p>
189
                    <div id="importing_default" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
189
                    <div id="importing_default" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
190
                </div>
190
                </div>
191
                <div class="modal-footer">
191
                <div class="modal-footer">
192
                  <button type="submit" class="btn">Import</button>
192
                  <button type="submit" class="btn">Import</button>
Lines 249-255 Link Here
249
                      <input type="hidden" name="frameworkcode" value="[% loo.frameworkcode %]" />
249
                      <input type="hidden" name="frameworkcode" value="[% loo.frameworkcode %]" />
250
                      <input type="hidden" name="action" value="import" />
250
                      <input type="hidden" name="action" value="import" />
251
                      <p><label for="file_import_[% loo.frameworkcode %]">Upload file:</label> <input type="file" name="file_import_[% loo.frameworkcode %]" id="file_import_[% loo.frameworkcode %]" class="input_import" /></p>
251
                      <p><label for="file_import_[% loo.frameworkcode %]">Upload file:</label> <input type="file" name="file_import_[% loo.frameworkcode %]" id="file_import_[% loo.frameworkcode %]" class="input_import" /></p>
252
                      <div id="importing_[% loo.frameworkcode %]" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /><span class="importing_msg"></span></div>
252
                      <div id="importing_[% loo.frameworkcode %]" style="display:none" class="importing"><img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /><span class="importing_msg"></span></div>
253
                    </div>
253
                    </div>
254
                    <div class="modal-footer">
254
                    <div class="modal-footer">
255
                      <button type="submit" class="btn">Import</button>
255
                      <button type="submit" class="btn">Import</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +2 lines)
Lines 203-209 function verify_images() { Link Here
203
            $('#marcPreview').modal({show:true});
203
            $('#marcPreview').modal({show:true});
204
        });
204
        });
205
        $("#marcPreview").on("hidden", function(){
205
        $("#marcPreview").on("hidden", function(){
206
            $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
206
            $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
207
        });
207
        });
208
     [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
208
     [% IF ( Koha.Preference('NovelistSelectStaffEnabled') && Koha.Preference('NovelistSelectProfile') && ( normalized_isbn || normalized_upc ) ) %]
209
         novSelect.loadContentForQuery(
209
         novSelect.loadContentForQuery(
Lines 1129-1135 function verify_images() { Link Here
1129
        <h3 id="marcPreviewLabel">MARC preview</h3>
1129
        <h3 id="marcPreviewLabel">MARC preview</h3>
1130
    </div>
1130
    </div>
1131
    <div class="modal-body">
1131
    <div class="modal-body">
1132
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
1132
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
1133
    </div>
1133
    </div>
1134
    <div class="modal-footer">
1134
    <div class="modal-footer">
1135
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
1135
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-2 / +2 lines)
Lines 38-44 Link Here
38
        });
38
        });
39
        $("#dataPreview").on("hidden", function(){
39
        $("#dataPreview").on("hidden", function(){
40
            $("#dataPreviewLabel").html("");
40
            $("#dataPreviewLabel").html("");
41
            $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
41
            $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
42
        });
42
        });
43
43
44
     });
44
     });
Lines 273-279 Link Here
273
        <h3 id="dataPreviewLabel">Preview</h3>
273
        <h3 id="dataPreviewLabel">Preview</h3>
274
    </div>
274
    </div>
275
    <div class="modal-body">
275
    <div class="modal-body">
276
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
276
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
277
    </div>
277
    </div>
278
    <div class="modal-footer">
278
    <div class="modal-footer">
279
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
279
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-2 / +2 lines)
Lines 29-35 div#result { margin-top: 1em; } Link Here
29
        });
29
        });
30
        $("#dataPreview").on("hidden", function(){
30
        $("#dataPreview").on("hidden", function(){
31
            $("#dataPreviewLabel").html("");
31
            $("#dataPreviewLabel").html("");
32
            $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
32
            $("#dataPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
33
        });
33
        });
34
    });
34
    });
35
  [% ELSE %]
35
  [% ELSE %]
Lines 245-251 $(document).ready(function(){ Link Here
245
        <h3 id="dataPreviewLabel">Preview</h3>
245
        <h3 id="dataPreviewLabel">Preview</h3>
246
    </div>
246
    </div>
247
    <div class="modal-body">
247
    <div class="modal-body">
248
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
248
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
249
    </div>
249
    </div>
250
    <div class="modal-footer">
250
    <div class="modal-footer">
251
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
251
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt (-1 / +1 lines)
Lines 137-143 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
137
            <h3 id="marcPreviewLabel">MARC preview</h3>
137
            <h3 id="marcPreviewLabel">MARC preview</h3>
138
        </div>
138
        </div>
139
        <div class="modal-body">
139
        <div class="modal-body">
140
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
140
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
141
        </div>
141
        </div>
142
    </div>
142
    </div>
143
143
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt (-1 / +1 lines)
Lines 172-178 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
172
        <h3 id="dataPreviewLabel">Preview</h3>
172
        <h3 id="dataPreviewLabel">Preview</h3>
173
    </div>
173
    </div>
174
    <div class="modal-body">
174
    <div class="modal-body">
175
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
175
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
176
    </div>
176
    </div>
177
177
178
</div>
178
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt (-3 / +3 lines)
Lines 36-42 Link Here
36
                return;
36
                return;
37
            }
37
            }
38
38
39
            a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>');
39
            a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/spinner-small.gif"/>');
40
            a.closest('div').hide();
40
            a.closest('div').hide();
41
            $.ajax({
41
            $.ajax({
42
                type: "POST",
42
                type: "POST",
Lines 58-64 Link Here
58
            var table_row = a.closest('tr').clone();
58
            var table_row = a.closest('tr').clone();
59
            table_row.find('.ar-process-request').remove();
59
            table_row.find('.ar-process-request').remove();
60
60
61
            a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>');
61
            a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/spinner-small.gif"/>');
62
            a.closest('div').hide();
62
            a.closest('div').hide();
63
            $.ajax({
63
            $.ajax({
64
                type: "POST",
64
                type: "POST",
Lines 78-84 Link Here
78
        }
78
        }
79
79
80
        function Complete( id, a ) {
80
        function Complete( id, a ) {
81
            a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/loading-small.gif"/>');
81
            a.closest('td').prepend('<img src="[% interface %]/[% theme %]/img/spinner-small.gif"/>');
82
            a.closest('div').hide();
82
            a.closest('div').hide();
83
            $.ajax({
83
            $.ajax({
84
                type: "POST",
84
                type: "POST",
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt (-3 / +3 lines)
Lines 32-44 Link Here
32
        });
32
        });
33
33
34
        patronExportModal.on("hidden", function(){
34
        patronExportModal.on("hidden", function(){
35
            patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
35
            patronExportModalBody.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
36
        });
36
        });
37
37
38
        patronExportModal.on("submit", "#exportingf", function(e){
38
        patronExportModal.on("submit", "#exportingf", function(e){
39
            e.preventDefault();
39
            e.preventDefault();
40
            modal_body = patronExportModalBody;
40
            modal_body = patronExportModalBody;
41
            modal_body.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
41
            modal_body.html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
42
            target_url = $(this).attr("action");
42
            target_url = $(this).attr("action");
43
            params =  $( this ).serialize();
43
            params =  $( this ).serialize();
44
            modal_body.load( target_url + "?" + params + " #custom-doc");
44
            modal_body.load( target_url + "?" + params + " #custom-doc");
Lines 133-139 Link Here
133
                    <h3 id="patronExportModal_label">Print patron cards</h3>
133
                    <h3 id="patronExportModal_label">Print patron cards</h3>
134
                </div>
134
                </div>
135
                <div class="modal-body">
135
                <div class="modal-body">
136
                    <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
136
                    <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
137
                </div>
137
                </div>
138
            </div>
138
            </div>
139
139
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-2 / +2 lines)
Lines 69-75 $(document).ready(function() { Link Here
69
    });
69
    });
70
    $("#marcPreview").on("hidden", function(){
70
    $("#marcPreview").on("hidden", function(){
71
        $("#marcPreviewLabel").html("");
71
        $("#marcPreviewLabel").html("");
72
        $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
72
        $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
73
    });
73
    });
74
74
75
});
75
});
Lines 191-197 $(document).ready(function() { Link Here
191
                <h3 id="marcPreviewLabel">MARC preview</h3>
191
                <h3 id="marcPreviewLabel">MARC preview</h3>
192
            </div>
192
            </div>
193
            <div class="modal-body">
193
            <div class="modal-body">
194
                <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
194
                <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
195
            </div>
195
            </div>
196
            <div class="modal-footer">
196
            <div class="modal-footer">
197
                <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
197
                <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-2 / +2 lines)
Lines 147-153 $(document).ready(function(){ Link Here
147
    });
147
    });
148
    $("#marcPreview").on("hidden", function(){
148
    $("#marcPreview").on("hidden", function(){
149
        $("#marcPreviewLabel").html("");
149
        $("#marcPreviewLabel").html("");
150
        $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/loading-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
150
        $("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface %]/[% theme %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>");
151
    });
151
    });
152
    $(".batch_form").on("submit",function(){
152
    $(".batch_form").on("submit",function(){
153
        if( $(this).hasClass("batch_delete") ){
153
        if( $(this).hasClass("batch_delete") ){
Lines 514-520 Page Link Here
514
            <h3 id="marcPreviewLabel">MARC preview</h3>
514
            <h3 id="marcPreviewLabel">MARC preview</h3>
515
        </div>
515
        </div>
516
        <div class="modal-body">
516
        <div class="modal-body">
517
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
517
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
518
        </div>
518
        </div>
519
        <div class="modal-footer">
519
        <div class="modal-footer">
520
            <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
520
            <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
(-)a/koha-tmpl/intranet-tmpl/prog/js/biblio_framework.js (-1 / +1 lines)
Lines 57-63 Link Here
57
                    $('#importing_' + frameworkcode).find("span").html(MSG_IMPORTING_TO_FRAMEWORK.format("<strong>" + frameworkcode + "</strong>", "<i>" + obj.val().replace(new RegExp("^.+[/\\\\]"),"") + "</i>"));
57
                    $('#importing_' + frameworkcode).find("span").html(MSG_IMPORTING_TO_FRAMEWORK.format("<strong>" + frameworkcode + "</strong>", "<i>" + obj.val().replace(new RegExp("^.+[/\\\\]"),"") + "</i>"));
58
                    if (navigator.userAgent.toLowerCase().indexOf('msie') != -1) {
58
                    if (navigator.userAgent.toLowerCase().indexOf('msie') != -1) {
59
                        var timestamp = new Date().getTime();
59
                        var timestamp = new Date().getTime();
60
                        $('#importing_' + frameworkcode).find("img").attr('src', template_path + '/img/loading-small.gif' + '?' +timestamp);
60
                        $('#importing_' + frameworkcode).find("img").attr('src', template_path + '/img/spinner-small.gif' + '?' +timestamp);
61
                    }
61
                    }
62
                    $('#importing_' + frameworkcode).css('display', 'block');
62
                    $('#importing_' + frameworkcode).css('display', 'block');
63
                    if (navigator.userAgent.toLowerCase().indexOf('firefox') == -1) $("body").css("cursor", "progress");
63
                    if (navigator.userAgent.toLowerCase().indexOf('firefox') == -1) $("body").css("cursor", "progress");
(-)a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js (-2 / +2 lines)
Lines 50-56 $(document).ready(function() { Link Here
50
        $(".checkin:checked:visible").each(function() {
50
        $(".checkin:checked:visible").each(function() {
51
            itemnumber = $(this).val();
51
            itemnumber = $(this).val();
52
52
53
            $(this).replaceWith("<img id='checkin_" + itemnumber + "' src='" + interface + "/" + theme + "/img/loading-small.gif' />");
53
            $(this).replaceWith("<img id='checkin_" + itemnumber + "' src='" + interface + "/" + theme + "/img/spinner-small.gif' />");
54
54
55
            params = {
55
            params = {
56
                itemnumber:     itemnumber,
56
                itemnumber:     itemnumber,
Lines 81-87 $(document).ready(function() { Link Here
81
81
82
            var itemnumber = $(this).val();
82
            var itemnumber = $(this).val();
83
83
84
            $(this).parent().parent().replaceWith("<img id='renew_" + itemnumber + "' src='" + interface + "/" + theme + "/img/loading-small.gif' />");
84
            $(this).parent().parent().replaceWith("<img id='renew_" + itemnumber + "' src='" + interface + "/" + theme + "/img/spinner-small.gif' />");
85
85
86
            var params = {
86
            var params = {
87
                itemnumber:     itemnumber,
87
                itemnumber:     itemnumber,
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-1 / +1 lines)
Lines 200-206 $(document).ready(function() { Link Here
200
                    $(this).prop("disabled",true);
200
                    $(this).prop("disabled",true);
201
                    var cur_select = $(this);
201
                    var cur_select = $(this);
202
                    var res_id = $(this).attr('reserve_id');
202
                    var res_id = $(this).attr('reserve_id');
203
                    $(this).after('<div id="updating_reserveno'+res_id+'" class="waiting"><img src="/intranet-tmpl/prog/img/loading-small.gif" alt="" /><span class="waiting_msg"></span></div>');
203
                    $(this).after('<div id="updating_reserveno'+res_id+'" class="waiting"><img src="/intranet-tmpl/prog/img/spinner-small.gif" alt="" /><span class="waiting_msg"></span></div>');
204
                    var api_url = '/api/v1/holds/'+res_id;
204
                    var api_url = '/api/v1/holds/'+res_id;
205
                    var update_info = JSON.stringify({ branchcode: $(this).val(), priority: parseInt($(this).attr("priority"),10) });
205
                    var update_info = JSON.stringify({ branchcode: $(this).val(), priority: parseInt($(this).attr("priority"),10) });
206
                    $.ajax({
206
                    $.ajax({
(-)a/koha-tmpl/intranet-tmpl/prog/js/z3950_search.js (-3 / +2 lines)
Lines 66-72 $( document ).ready( function() { Link Here
66
    });
66
    });
67
    $( "#marcPreview" ).on( "hidden", function() {
67
    $( "#marcPreview" ).on( "hidden", function() {
68
        $( "#marcPreviewLabel" ).html( "" );
68
        $( "#marcPreviewLabel" ).html( "" );
69
        $( "#marcPreview .modal-body" ).html( "<div id='loading'><img src='" + interface + "/" + theme + "/img/loading-small.gif' alt='' /> " + MSG_LOADING + "</div>" );
69
        $( "#marcPreview .modal-body" ).html( "<div id='loading'><img src='" + interface + "/" + theme + "/img/spinner-small.gif' alt='' /> " + MSG_LOADING + "</div>" );
70
    });
70
    });
71
    $( ".previewData" ).on( "click", function(e) {
71
    $( ".previewData" ).on( "click", function(e) {
72
        e.preventDefault();
72
        e.preventDefault();
Lines 78-84 $( document ).ready( function() { Link Here
78
    });
78
    });
79
    $( "#dataPreview" ).on( "hidden", function() {
79
    $( "#dataPreview" ).on( "hidden", function() {
80
        $( "#dataPreviewLabel" ).html( "" );
80
        $( "#dataPreviewLabel" ).html( "" );
81
        $( "#dataPreview .modal-body" ).html( "<div id='loading'><img src='" + interface + "/" + theme + "/img/loading-small.gif' alt='' /> " + MSG_LOADING + "</div>" );
81
        $( "#dataPreview .modal-body" ).html( "<div id='loading'><img src='" + interface + "/" + theme + "/img/spinner-small.gif' alt='' /> " + MSG_LOADING + "</div>" );
82
    });
82
    });
83
    $( ".import_record" ).on( "click", function(e) {
83
    $( ".import_record" ).on( "click", function(e) {
84
        e.preventDefault();
84
        e.preventDefault();
85
- 

Return to bug 16072