Bugzilla – Attachment 79247 Details for
Bug 17602
Integrate support for RecordedBooks (formerly OneClickDigital) API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17602: Move spinner location to include file
Bug-17602-Move-spinner-location-to-include-file.patch (text/plain), 1.81 KB, created by
Nick Clemens
on 2018-09-21 19:01:43 UTC
(
hide
)
Description:
Bug 17602: Move spinner location to include file
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2018-09-21 19:01:43 UTC
Size:
1.81 KB
patch
obsolete
>From 9f99b638004404db220a4e5c9e371407e1b65f25 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 21 Sep 2018 19:00:28 +0000 >Subject: [PATCH] Bug 17602: Move spinner location to include file > >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 4 ++++ > koha-tmpl/opac-tmpl/bootstrap/js/recordedbooks.js | 2 +- > 2 files changed, 5 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >index bd04ac8..71afa5c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -271,6 +271,10 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > </script> > [% END %] > >+[% IF (RecordedBooksEnabled) %] >+ var SPINNER_THROBBER = "[% interface %]/lib/jquery/plugins/themes/classic/throbber.gif"; >+[% END %] >+ > [% Asset.js("lib/jquery/plugins/jquery.cookie.min.js") | $raw %] > <script> > $(document).ready(function() { >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/recordedbooks.js b/koha-tmpl/opac-tmpl/bootstrap/js/recordedbooks.js >index 24b7082..f3f7e8e 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/recordedbooks.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/recordedbooks.js >@@ -89,7 +89,7 @@ KOHA.RecordedBooks = new function() { > $('<div id="action_'+item.isbn+'" class="actions-menu">') > .append(actions) > .appendTo(line); >- $('<span id="waiting_'+item.isbn+'" style="display:none;"><img class="throbber" src="/opac-tmpl/lib/jquery/plugins/themes/classic/throbber.gif" /></span>').appendTo(line); >+ $('<span id="waiting_'+item.isbn+'" style="display:none;"><img class="throbber" src="' + SPINNER_THROBBER + '" /></span>').appendTo(line); > $(ul_el).append(line); > } > >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17602
:
57402
|
57403
|
57404
|
60855
|
60856
|
60857
|
61866
|
61932
|
62247
|
62248
|
62249
|
62250
|
63392
|
63778
|
63779
|
63780
|
63857
|
64070
|
64071
|
64095
|
64096
|
64098
|
64099
|
64100
|
65988
|
65989
|
66341
|
66342
|
66343
|
67236
|
67237
|
67238
|
67240
|
67859
|
67860
|
69019
|
69020
|
69021
|
69022
|
69023
|
69024
|
69025
|
69026
|
69027
|
69101
|
69357
|
69358
|
69359
|
73708
|
73709
|
73710
|
73711
|
73712
|
73713
|
73714
|
73715
|
73716
|
73717
|
73718
|
73719
|
73725
|
76180
|
76181
|
76182
|
76183
|
76184
|
76185
|
76186
|
76187
|
76188
|
76189
|
76190
|
76191
|
76192
|
76193
|
78602
|
78603
|
78604
|
78605
|
78606
|
78607
|
78608
|
78609
|
78610
|
78611
|
78612
|
78613
|
78614
|
78615
|
79247
|
79668
|
79669
|
79670
|
79671
|
79672
|
79673
|
79674
|
79675
|
79676
|
79677
|
79678
|
79679
|
79680
|
79681
|
79682
|
79752