Bugzilla – Attachment 71255 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: Fix occurrences not caught by script
Bug-12904-Fix-occurrences-not-caught-by-script.patch (text/plain), 2.88 KB, created by
Josef Moravec
on 2018-02-06 13:58:42 UTC
(
hide
)
Description:
Bug 12904: Fix occurrences not caught by script
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-02-06 13:58:42 UTC
Size:
2.88 KB
patch
obsolete
>From 1a0045079ff36f791de9d64703d38efeca516de6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 6 Feb 2018 10:41:03 -0300 >Subject: [PATCH] Bug 12904: Fix occurrences not caught by script > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/includes/doc-head-close.inc | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc | 6 +++--- > 3 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc >index 54ead22..ce3c1c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/intranetstylesheet.inc >@@ -1,4 +1,4 @@ >-[% SET intranetstylesheet='staff-global.css' UNLESS intranetstylesheet %] >+[% SET intranetstylesheet='staff-global_' _ KOHA_VERSION _ '.css' UNLESS intranetstylesheet %] > [% IF (intranetstylesheet.match('^https?:|^\/')) %] > <link rel="stylesheet" type="text/css" href="[% intranetstylesheet %]" /> > [% ELSE %] >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 0f651c8..838606e 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 >@@ -14,7 +14,7 @@ > <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/lib/jquery/jquery-ui_[% KOHA_VERSION %].css" /> > [% END %] > >-[% SET opaclayoutstylesheet='opac.css' UNLESS opaclayoutstylesheet %] >+[% SET opaclayoutstylesheet='opac_' _ KOHA_VERSION _ '.css' UNLESS opaclayoutstylesheet %] > [% IF (opaclayoutstylesheet.match('^https?:|^\/')) %] > <link rel="stylesheet" type="text/css" href="[% opaclayoutstylesheet %]" /> > [% ELSE %] >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 70c8ad9..fcc3ee8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc >@@ -90,11 +90,11 @@ $.widget.bridge('uitooltip', $.ui.tooltip); > // 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" > ]); > > // Fix for datepicker in a modal >-- >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 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