https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15883
Bug ID: 15883
Summary: Upgrade jQuery from v1.7.2 in the staff client
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Templates
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Blocks: 14546
In order to upgrade Bootstrap in the staff client we first need to upgrade
jQuery.
After discussing it some in IRC
(http://irc.koha-community.org/koha/2016-02-22#i_1791968), this is the plan I'm
working on right now:
An initial patch will start by adding the basis for upgrades:
1. Add a new version of doc-head-close.inc which includes new version of jQuery
and jQueryUI. That include file will be named doc-head-close-jquery.1.12.0.inc
to reflect the version of jQuery it uses.
2. Add the 1.12.0 version of jQuery, naming the file jquery-1.12.0.min.js
3. Add the latest version of jQueryUI, 1.11.4, naming the files
jquery-ui-1.11.4.js and jquery-ui-1.11.4.min.css.
Subsequent patches can take a page-by-page approach to the upgrade, dropping in
the new include file and making any upgrades necessary to Javascript on that
page. As compatibility issues are discovered, affected JS files can be
re-created with updated file names to reflect the jQuery version, as in
"basket-jquery-1.12.0.js"
Disadvantages to this method:
1. It's possible some patches will have to touch both doc-head-close.inc and
doc-head-close-jquery.1.12.0.inc. However that file changes fairly seldom.
2. git history getting lost between files. Can it be done so that the new
include file keeps the history of doc-head-close.inc and doc-head-close.inc is
created as if it is the new file? Eventually it could be removed.
I would like to hear opinions and suggestions about this.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14546
[Bug 14546] Make staff client use Bootstrap
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/