Skip to content

Commit

Permalink
Upgraded to the latest Fullcalendar version 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno Kurlin committed Jun 2, 2012
1 parent 341d661 commit 3a1e185
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 167 deletions.
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

version 1.5.3 (2/6/12)
- fixed dragging issue with jQuery UI 1.8.16 (issue 1168)
- bundled with jQuery 1.7.1 and jQuery UI 1.8.17

version 1.5.2 (8/21/11)
- correctly process UTC "Z" ISO8601 date strings (issue 750)

Expand Down
2 changes: 1 addition & 1 deletion demos/resourceView.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
header: {
left: 'prev,next today',
center: 'title',
right: 'resourceDay,resourceWeek,resourceMonth'
right: 'resourceDay,resourceWeek,resourceNextWeeks,resourceMonth'
},
defaultView: 'resourceDay',
firstDay: 1,
Expand Down
16 changes: 0 additions & 16 deletions lib/jquery-1.5.2.min.js

This file was deleted.

4 changes: 4 additions & 0 deletions lib/jquery-1.7.1.min.js

Large diffs are not rendered by default.

147 changes: 0 additions & 147 deletions lib/jquery-ui-1.8.11.custom.min.js

This file was deleted.

54 changes: 54 additions & 0 deletions lib/jquery-ui-1.8.17.custom.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/_loader.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function() {

var JQUERY = 'jquery-1.5.2.min.js';
var JQUERY_UI = 'jquery-ui-1.8.11.custom.min.js';
var JQUERY = 'jquery-1.7.1.min.js';
var JQUERY_UI = 'jquery-ui-1.8.17.custom.min.js';
var JQUERY_LEGACY = 'jquery-1.3.2.min.js';
var JQUERY_UI_LEGACY = 'jquery-ui-1.7.3.custom.min.js';

Expand Down
15 changes: 15 additions & 0 deletions src/common/HoverListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function HoverListener(coordinateGrid) {


function mouse(ev) {
_fixUIEvent(ev); // see below
var newCell = coordinateGrid.cell(ev.pageX, ev.pageY);
if (!newCell != !cell || newCell && (newCell.row != cell.row || newCell.col != cell.col)) {
if (newCell) {
Expand All @@ -42,3 +43,17 @@ function HoverListener(coordinateGrid) {


}



// this fix was only necessary for jQuery UI 1.8.16 (and jQuery 1.7 or 1.7.1)
// upgrading to jQuery UI 1.8.17 (and using either jQuery 1.7 or 1.7.1) fixed the problem
// but keep this in here for 1.8.16 users
// and maybe remove it down the line

function _fixUIEvent(event) { // for issue 1168
if (event.pageX === undefined) {
event.pageX = event.originalEvent.pageX;
event.pageY = event.originalEvent.pageY;
}
}
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.2
1.5.3

0 comments on commit 3a1e185

Please sign in to comment.