[Koha-bugs] [Bug 12904] Force browser to load new javascript files after upgrade

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 6 09:56:55 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12904

--- Comment #15 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Kyle, how did you choose which files to do this for.. it feels like there are
instances of js files referred to which you've not accounted for?

I discovered this whilst attempting to find all css files fro a similar
treatment.

I've used the following command to regex all css imports within file in the
templates directory and note that many of my results also contained a JS import
that hadn't had your treatment applied?

grep -r -l "<link rel=\"stylesheet\" type=\"text\/css\" href=\"" * | xargs sed
-i 's/\.css"/_[% KOHA_VERSION %].css"/g'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list