Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Use latest versions of jquery.form and jquery.tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Sommerhalder committed Jan 30, 2017
1 parent 40a6c74 commit d1327d3
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 24 deletions.
15 changes: 5 additions & 10 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@ Changelog
1.9.1 (unreleased)
------------------

Breaking changes:

- *add item here*

New features:

- *add item here*

Bug fixes:

- *add item here*
- Fix for dotted path form ids.
[malsup]

- Fix initaliziation of minimum and maximum dates in dateinput.
[msom]


1.9.0 (2016-12-02)
Expand All @@ -27,7 +23,6 @@ New features:
[petri]



1.8.0 (2016-08-12)
------------------

Expand Down
19 changes: 16 additions & 3 deletions plone/app/jquerytools/browser/jquery.form.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@
*/
/*global ActiveXObject */

// AMD support
(function (factory) {
"use strict";
if (typeof define === 'function' && define.amd) {
// using AMD; register as anon module
define(['jquery'], factory);
} else {
// no AMD; invoke directly
factory( (typeof(jQuery) != 'undefined') ? jQuery : window.Zepto );
}
}

(function($) {
"use strict";

/*
Usage Note:
-----------
Expand Down Expand Up @@ -47,8 +62,6 @@
at the appropriate time.
*/

(function($) {

/**
* Feature detection
*/
Expand Down Expand Up @@ -1261,4 +1274,4 @@ function log() {
}
}

}(jQuery));
}));
2 changes: 1 addition & 1 deletion plone/app/jquerytools/browser/jquery.form.min.js

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions plone/app/jquerytools/browser/jquery.tools.dateinput.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,8 @@

// use sane values for value, min & max
value = parseDate(value) || now;

min = parseDate(min || new Date(yearNow + conf.yearRange[0], 1, 1));
max = parseDate(max || new Date( yearNow + conf.yearRange[1]+ 1, 1, -1));
min = parseDate(min || new Date(yearNow + conf.yearRange[0], 0, 1));
max = parseDate(max || new Date(yearNow + conf.yearRange[1]+ 1, 0, 0));


// check that language exists
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plone/app/jquerytools/browser/jquery.tools.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plone/app/jquerytools/browser/jquery.tools.plugins.min.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d1327d3

Please sign in to comment.