Bugzilla – Attachment 33317 Details for
Bug 12904
Force browser to load new JavaScript and CSS files after upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12904 - Force browser to load new javascript files after upgrade
Bug-12904---Force-browser-to-load-new-javascript-f.patch (text/plain), 21.86 KB, created by
Martin Renvoize
on 2014-11-06 16:04:32 UTC
(
hide
)
Description:
Bug 12904 - Force browser to load new javascript files after upgrade
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2014-11-06 16:04:32 UTC
Size:
21.86 KB
patch
obsolete
>From 22e2acffd8027bd7fd3ae49006fac10dd7e02079 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 10 Sep 2014 11:55:44 -0400 >Subject: [PATCH] Bug 12904 - Force browser to load new javascript files after > upgrade > >A common issue with Koha seems to be that the web browsers continue to >use cached js files after an upgrade. If we append the version as a >parameter, we can force the browser to update the javascript files. > >1) Apply this patch on a new branch based on master. >2) In a separate branch check out a previous version of Koha and go > through the installation process on an empty database. >3) After logging into Koha, turn on Firebug's Net panel (or Chrome's > Network panel) and turn on the filter for JavaScript files. >4) Clear the browser cache and navigate to a page, for instance > Circulation. In Firebug the Net panel should show a status of "200 > OK" for all files, indicating that the file was downloaded, not > loaded from the cache. In Chrome the "size" column will show a file > size if the file was downloaded. >5) Navigate to another page and confirm that scripts are being loaded > from the cache: Scripts like jquery.js and jquery-ui.js which are > loaded on every page should have a status in the Firebug Net panel of > "304 Not Modified." In Chrome the "size" columns should show "from > cache." >6) Check out the branch you created for testing this patch. >7) In order to preserve the state of your browser cache for accurate > testing, open a different browser from the one you were previously > testing with, load Koha, and run through the database update. >8) Return to your original testing browser and navigate to another Koha > page. Firebug's Net panel should show that script files are now being > downloaded with a "koha_version" query string. These files should > have a status of "200 OK" indicating that they are being downloaded, > not loaded from the cache. >9) Navigate to another page and conifrm that the new versions of the > scripts are being loaded from the cache. > >To confirm that all affected JavaScripts links are working correctly, >test these pages by checking the Firebug Net panel for errors: > >- Administration -> Currencies and exchange rates > (jquery.dataTables.colvis.js) >- Tools -> Stage MARC records for import (ajaxfileupload.js) or another > page which performs a file upload. >- Catalog -> Detail page -> MARC Preview (greybox JS) >- Help -> Any help page >- Any page which loads DataTables (Circulation in the staff client, for > instance, and a title's detail page in the OPAC) >- Bonus points if you check the various conditional JS includes > controlled by the many OPAC feature preferences >--- > debian/templates/apache-shared-intranet.conf | 1 + > debian/templates/apache-shared-opac.conf | 1 + > etc/koha-httpd.conf | 1 + > .../prog/en/includes/columns_settings.inc | 4 ++- > .../intranet-tmpl/prog/en/includes/datatables.inc | 6 ++-- > .../prog/en/includes/doc-head-close.inc | 22 ++++++------ > .../intranet-tmpl/prog/en/includes/file-upload.inc | 4 ++- > .../intranet-tmpl/prog/en/includes/greybox.inc | 8 +++-- > .../intranet-tmpl/prog/en/includes/help-top.inc | 10 +++--- > .../opac-tmpl/bootstrap/en/includes/datatables.inc | 6 ++-- > .../bootstrap/en/includes/doc-head-close.inc | 8 +++-- > .../bootstrap/en/includes/opac-bottom.inc | 37 ++++++++++---------- > 12 files changed, 64 insertions(+), 44 deletions(-) > >diff --git a/debian/templates/apache-shared-intranet.conf b/debian/templates/apache-shared-intranet.conf >index 04bab25..37f86d0 100644 >--- a/debian/templates/apache-shared-intranet.conf >+++ b/debian/templates/apache-shared-intranet.conf >@@ -17,3 +17,4 @@ RewriteRule (.+) $1?%1%2 [N,R,NE] > RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT] > RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] > RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] >+RewriteRule ^(.*)_(.*).js$ $1.js [R=301,N,L] >diff --git a/debian/templates/apache-shared-opac.conf b/debian/templates/apache-shared-opac.conf >index 42715c8..4cc58a2 100644 >--- a/debian/templates/apache-shared-opac.conf >+++ b/debian/templates/apache-shared-opac.conf >@@ -17,3 +17,4 @@ RewriteRule (.+) $1?%1%2 [N,R,NE] > RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT] > RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] > RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] >+RewriteRule ^(.*)_(.*).js$ $1.js [R=301,N,L] >diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf >index f9a1970..0c4f36a 100644 >--- a/etc/koha-httpd.conf >+++ b/etc/koha-httpd.conf >@@ -112,6 +112,7 @@ > RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/opac-detail\.pl?bib=$1 [PT] > RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] > RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT] >+ RewriteRule ^(.*)_(.*).js$ $1.js [R=301,N,L] > </IfModule> > </VirtualHost> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >index 87d9da6..7647393 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc >@@ -1,7 +1,9 @@ >+[% USE Koha %] >+[% SET KOHA_VERSION = Koha.Preference('Version') %] > [% USE ColumnsSettings %] > > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.colvis.css" /> >-<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.colvis.js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.colvis_[% KOHA_VERSION %].js"></script> > > <script type="text/javascript"> > function KohaTable(selector, dt_parameters, columns_settings) { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc >index 44d8277..e04b383 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/datatables.inc >@@ -1,4 +1,6 @@ >-<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+[% USE Koha %] >+[% SET KOHA_VERSION = Koha.Preference('Version') %] >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.min_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > //<![CDATA[ > var MSG_DT_FIRST = _("First"); >@@ -18,4 +20,4 @@ > var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the"); > //]]> > </script> >-<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> >+<script type="text/javascript" src="[% themelang %]/js/datatables_[% KOHA_VERSION %].js"></script> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >index f6269de..7c8309e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc >@@ -1,3 +1,5 @@ >+[% USE Koha %] >+[% SET KOHA_VERSION = Koha.Preference('Version') %] > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% interface %]/[% theme %]/img/favicon.ico[% END %]" type="image/x-icon" /> > <link rel="stylesheet" type="text/css" href="[% interface %]/lib/jquery/jquery-ui.css" /> >@@ -8,20 +10,20 @@ > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" /> > [% END %] > [% IF ( IntranetUserCSS ) %]<style type="text/css">[% IntranetUserCSS %]</style>[% END %] >-<script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.cookie.min.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.highlight-3.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/bootstrap/bootstrap.min.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.validate.min.js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/jquery_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.cookie.min_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.highlight-3_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/bootstrap/bootstrap.min_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.validate.min_[% KOHA_VERSION %].js"></script> > > [% IF ( login ) %] > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/login.css" /> > [% END %] > > <!-- koha core js --> >-<script type="text/javascript" src="[% themelang %]/js/staff-global.js"></script> >+<script type="text/javascript" src="[% themelang %]/js/staff-global_[% KOHA_VERSION %].js"></script> > [% INCLUDE 'validator-strings.inc' %] > [% IF ( intranetuserjs ) %] > <script type="text/javascript"> >@@ -46,10 +48,10 @@ > var MSG_NON_RESERVES_SELECTED = _("One or more selected items cannot be reserved."); > //]]> > </script> >-<script type="text/javascript" src="[% themelang %]/js/basket.js"></script> >+<script type="text/javascript" src="[% themelang %]/js/basket_[% KOHA_VERSION %].js"></script> > [% END %] > [% IF LocalCoverImages %] >-<script type="text/javascript" src="[% themelang %]/js/localcovers.js"></script> >+<script type="text/javascript" src="[% themelang %]/js/localcovers_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > //<![CDATA[ > var NO_LOCAL_JACKET = _("No cover image available"); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/file-upload.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/file-upload.inc >index d8e9e00..7797bff 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/file-upload.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/file-upload.inc >@@ -1,5 +1,7 @@ >+[% USE Koha %] >+[% SET KOHA_VERSION = Koha.Preference('Version') %] > <!-- AJAX file upload stuff --> >-<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/ajaxfileupload.js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/ajaxfileupload_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > //<![CDATA[ > var fileUploadProgressTimer = 0; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/greybox.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/greybox.inc >index 11d7581..473ad54 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/greybox.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/greybox.inc >@@ -1,7 +1,9 @@ >+[% USE Koha %] >+[% SET KOHA_VERSION = Koha.Preference('Version') %] > <script type="text/javascript"> > var GB_ROOT_DIR = "[% interface %]/lib/greybox/"; > </script> >-<script type="text/javascript" src="[% interface %]/lib/greybox/AJS.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/greybox/AJS_fx.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/greybox/gb_scripts.js"></script> >+<script type="text/javascript" src="[% interface %]/lib/greybox/AJS_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/greybox/AJS_fx_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/greybox/gb_scripts_[% KOHA_VERSION %].js"></script> > <link href="[% interface %]/lib/greybox/gb_styles.css" rel="stylesheet" type="text/css" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/help-top.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/help-top.inc >index ef87e1e..4a0a8ba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/help-top.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/help-top.inc >@@ -1,3 +1,5 @@ >+[% USE Koha %] >+[% SET KOHA_VERSION = Koha.Preference('Version') %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Online help</title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> >@@ -8,11 +10,11 @@ > [% IF ( bidi ) %] > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/right-to-left.css" /> > [% END %] >-<script type="text/javascript" src="[% interface %]/lib/jquery/jquery.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui.js"></script> >-<script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut.js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/jquery_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/jquery/jquery-ui_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/lib/shortcut/shortcut_[% KOHA_VERSION %].js"></script> > <!-- koha core js --> >-<script type="text/javascript" src="[% themelang %]/js/staff-global.js"></script> >+<script type="text/javascript" src="[% themelang %]/js/staff-global_[% KOHA_VERSION %].js"></script> > > <link rel="stylesheet" type="text/css" href="[% themelang %]/css/help.css" /> > </head> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/datatables.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/datatables.inc >index d3075c9..62db32c 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/datatables.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/datatables.inc >@@ -1,4 +1,6 @@ >-<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> >+[% USE Koha %] >+[% SET KOHA_VERSION = Koha.Preference('Version') %] >+<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.min_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > //<![CDATA[ > var MSG_DT_FIRST = _("First"); >@@ -17,4 +19,4 @@ > var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the"); > //]]> > </script> >-<script type="text/javascript" src="[% interface %]/[% theme %]/js/datatables.js"></script> >\ No newline at end of file >+<script type="text/javascript" src="[% interface %]/[% theme %]/js/datatables_[% KOHA_VERSION %].js"></script> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc >index c3e2d83..a70adcb 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc >@@ -1,3 +1,5 @@ >+[% USE Koha %] >+[% SET KOHA_VERSION = Koha.Preference('Version') %] > </title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <meta name="generator" content="Koha [% Version %]" /> <!-- leave this for stats --> >@@ -41,11 +43,11 @@ > [% IF ( OPACUserCSS ) %]<style type="text/css">[% OPACUserCSS %]</style>[% END %] > <link rel="unapi-server" type="application/xml" title="unAPI" href="[% OPACBaseURL %]/cgi-bin/koha/unapi" /> > [% PROCESS cssinclude %] >-<!-- Respond.js brings responsive layout behavior to IE < v.9 --> >+<!-- Respond_[% KOHA_VERSION %].js brings responsive layout behavior to IE < v.9 --> > <!--[if lt IE 9]> >- <script src="[% interface %]/[% theme %]/lib/respond.min.js"></script> >+ <script src="[% interface %]/[% theme %]/lib/respond.min_[% KOHA_VERSION %].js"></script> > <![endif]--> > <script type="text/javascript"> > function _(s) { return s } // dummy function for gettext > </script> >-<script type="text/javascript" src="[% interface %]/[% theme %]/lib/modernizr.min.js"></script> >+<script type="text/javascript" src="[% interface %]/[% theme %]/lib/modernizr.min_[% KOHA_VERSION %].js"></script> >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 596341a..641d776 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -1,3 +1,5 @@ >+[% USE Koha %] >+[% SET KOHA_VERSION = Koha.Preference('Version') %] > [% UNLESS ( is_popup ) %] > [% IF ( opaccredits ) %] > <div class="container-fluid"> >@@ -75,24 +77,24 @@ > > > <!-- JavaScript includes --> >-<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/jquery.js"></script> >-<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/jquery-ui.js"></script> >+<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/jquery_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/[% theme %]/lib/jquery/jquery-ui_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > // Resolve name collision between jQuery UI and Twitter Bootstrap > $.widget.bridge('uitooltip', $.ui.tooltip); > </script> >-<script type="text/javascript" src="[% interface %]/[% theme %]/lib/bootstrap/js/bootstrap.min.js"></script> >-<script type="text/javascript" src="[% interface %]/[% theme %]/js/global.js"></script> >+<script type="text/javascript" src="[% interface %]/[% theme %]/lib/bootstrap/js/bootstrap.min_[% KOHA_VERSION %].js"></script> >+<script type="text/javascript" src="[% interface %]/[% theme %]/js/global_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > Modernizr.load([ > // Test need for polyfill > { > test: window.matchMedia, >- nope: "[% interface %]/[% theme %]/lib/media.match.min.js" >+ nope: "[% interface %]/[% theme %]/lib/media.match.min_[% KOHA_VERSION %].js" > }, > // and then load enquire >- "[% interface %]/[% theme %]/lib/enquire.min.js", >- "[% interface %]/[% theme %]/js/script.js" >+ "[% interface %]/[% theme %]/lib/enquire.min_[% KOHA_VERSION %].js", >+ "[% interface %]/[% theme %]/js/script_[% KOHA_VERSION %].js" > ]); > </script> > [% IF ( OPACAmazonCoverImages || SyndeticsCoverImages ) %] >@@ -100,9 +102,8 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > var NO_AMAZON_IMAGE = _("No cover image available"); > //]]> > </script> >-<script type="text/javascript" src="[% interface %]/[% theme %]/js/amazonimages.js"></script> >+<script type="text/javascript" src="[% interface %]/[% theme %]/js/amazonimages_[% KOHA_VERSION %].js"></script> > [% END %] >- > <script type="text/javascript"> > //<![CDATA[ > var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again") >@@ -150,16 +151,16 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > </script> > > [% IF Koha.Preference( 'opacbookbag' ) == 1 %] >- <script type="text/javascript" src="[% interface %]/[% theme %]/js/basket.js"></script> >+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/basket_[% KOHA_VERSION %].js"></script> > [% ELSIF ( Koha.Preference( 'virtualshelves' ) == 1 ) %] >- <script type="text/javascript" src="[% interface %]/[% theme %]/js/basket.js"></script> >+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/basket_[% KOHA_VERSION %].js"></script> > [% ELSE %] > <script type="text/javascript">var readCookie;</script> > [% END %] > >-[% IF Koha.Preference( 'opacuserlogin' ) == 1 %][% IF Koha.Preference( 'TagsEnabled' ) == 1 %]<script type="text/javascript" src="[% interface %]/[% theme %]/js/tags.js"></script>[% END %][% ELSE %][% END %] >+[% IF Koha.Preference( 'opacuserlogin' ) == 1 %][% IF Koha.Preference( 'TagsEnabled' ) == 1 %]<script type="text/javascript" src="[% interface %]/[% theme %]/js/tags_[% KOHA_VERSION %].js"></script>[% END %][% ELSE %][% END %] > [% IF ( GoogleJackets ) %] >- <script type="text/javascript" src="[% interface %]/[% theme %]/js/google-jackets.js"></script> >+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/google-jackets_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > //<![CDATA[ > var NO_GOOGLE_JACKET = _("No cover image available"); >@@ -167,7 +168,7 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > </script> > [% END %] > [% IF OpenLibraryCovers %] >- <script type="text/javascript" src="[% interface %]/[% theme %]/js/openlibrary.js"></script> >+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/openlibrary_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > //<![CDATA[ > var NO_OL_JACKET = _("No cover image available"); >@@ -176,7 +177,7 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > [% END %] > > [% IF OPACLocalCoverImages %] >- <script type="text/javascript" src="[% interface %]/[% theme %]/js/localcovers.js"></script> >+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/localcovers_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > //<![CDATA[ > var NO_LOCAL_JACKET = _("No cover image available"); >@@ -185,7 +186,7 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > [% END %] > > [% IF ( BakerTaylorEnabled ) %] >- <script type="text/javascript" src="[% interface %]/[% theme %]/js/bakertaylorimages.js"></script> >+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/bakertaylorimages_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > //<![CDATA[ > var NO_BAKERTAYLOR_IMAGE = _("No cover image available"); >@@ -197,10 +198,10 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > [% END %] > [% IF ( GoogleIndicTransliteration ) %] > <script type="text/javascript" src="http://www.google.com/jsapi"></script> >- <script type="text/javascript" src="[% interface %]/[% theme %]/js/googleindictransliteration.js"></script> >+ <script type="text/javascript" src="[% interface %]/[% theme %]/js/googleindictransliteration_[% KOHA_VERSION %].js"></script> > [% END %] > [% IF persona %] >- <script src="https://login.persona.org/include.js"></script> >+ <script src="https://login.persona.org/include_[% KOHA_VERSION %].js"></script> > <script type="text/javascript"> > > navigator.id.watch({ >-- >1.7.10.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 12904
:
31514
|
31547
|
33287
|
33288
|
33295
|
33296
|
33297
|
33315
|
33317
|
33318
|
33319
|
33320
|
33321
|
33323
|
33324
|
33325
|
33326
|
33327
|
33328
|
48735
|
48736
|
48737
|
48738
|
48739
|
48740
|
48741
|
48742
|
49572
|
54484
|
54485
|
54488
|
54489
|
58378
|
58379
|
58392
|
58393
|
58394
|
58395
|
60826
|
60827
|
60830
|
60831
|
63692
|
63693
|
63694
|
63695
|
63696
|
70830
|
70831
|
70832
|
70833
|
70834
|
70835
|
71250
|
71251
|
71252
|
71253
|
71254
|
71255
|
71822