Bug 20559: Occurrences of loading-small.gif still exist
authorOwen Leonard <oleonard@myacpl.org>
Mon, 25 Jun 2018 14:54:08 +0000 (14:54 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 2 Jul 2018 11:16:53 +0000 (11:16 +0000)
This patch removes some leftover references to a file which no longer
exists. In the OPAC, loading-small.gif was included in CSS which was
never used. In the staff client, loading-small.gif should have been
corrected to spinner-small.gif.

To test, apply the patch and go to Tools -> Batch record modification.

 - Submit a batch of records to modify
 - In the table of titles which will be modified, click the 'Show MARC'
   button.
   - The modal preview window should show "Loading" and an animated
     spinner before the MARC record is loaded.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt
koha-tmpl/opac-tmpl/bootstrap/less/opac.less

index a1d5d75..bb0962d 100644 (file)
                         <h3 id="marcPreviewLabel">MARC preview</h3>
                     </div>
                     <div class="modal-body">
-                        <div id="loading"> <img src="[% interface %]/[% theme %]/img/loading-small.gif" alt="" /> Loading </div>
+                        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
                     </div>
                     <div class="modal-footer">
                         <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
index 88b350a..a078bb5 100644 (file)
@@ -657,30 +657,6 @@ ul.ui-tabs-nav li {
 
 /* end jQueryUI core */
 
-/* jQueryUI autocomplete */
-
-.ui-autocomplete {
-    position: absolute;
-    cursor: default;
-    .shadowed;
-}
-.ui-autocomplete.ui-widget-content .ui-state-hover {
-    border: 1px solid #AAA;
-    background: #E6F0F2 none;
-    font-weight: normal;
-    color: #212121;
-}
-.ui-autocomplete-loading {
-    background: #FFF url("../../img/loading-small.gif") right center no-repeat;
-}
-.ui-menu li {
-    list-style:none;
-}
-
-/* end jQueryUI autocomplete */
-
-
-
 th {
     background-color: #ECEDE6;
 }