Subversion Repositories Sites.obs-saisons.fr

Compare Revisions

Ignore whitespace Rev 53 → Rev 54

/trunk/applications/saisie/squelettes/js/jquery_ui/jquery.ui.datepicker.js
1,5 → 1,5
/*
* jQuery UI Datepicker 1.8.5
* jQuery UI Datepicker 1.8.6
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
12,7 → 12,7
*/
(function( $, undefined ) {
 
$.extend($.ui, { datepicker: { version: "1.8.5" } });
$.extend($.ui, { datepicker: { version: "1.8.6" } });
 
var PROP_NAME = 'datepicker';
var dpuuid = new Date().getTime();
167,7 → 167,7
 
/* Create a new instance object. */
_newInst: function(target, inline) {
var id = target[0].id.replace(/([^A-Za-z0-9_])/g, '\\\\$1'); // escape jQuery meta chars
var id = target[0].id.replace(/([^A-Za-z0-9_-])/g, '\\\\$1'); // escape jQuery meta chars
return {id: id, input: target, // associated target
selectedDay: 0, selectedMonth: 0, selectedYear: 0, // current selection
drawMonth: 0, drawYear: 0, // month being drawn
1493,7 → 1493,7
(otherMonth && !showOtherMonths ? ' ' : // display for other months
(unselectable ? '<span class="ui-state-default">' + printDate.getDate() + '</span>' : '<a class="ui-state-default' +
(printDate.getTime() == today.getTime() ? ' ui-state-highlight' : '') +
(printDate.getTime() == selectedDate.getTime() ? ' ui-state-active' : '') + // highlight selected day
(printDate.getTime() == currentDate.getTime() ? ' ui-state-active' : '') + // highlight selected day
(otherMonth ? ' ui-priority-secondary' : '') + // distinguish dates from other months
'" href="#">' + printDate.getDate() + '</a>')) + '</td>'; // display selectable date
printDate.setDate(printDate.getDate() + 1);
1723,7 → 1723,7
$.datepicker = new Datepicker(); // singleton instance
$.datepicker.initialized = false;
$.datepicker.uuid = new Date().getTime();
$.datepicker.version = "1.8.5";
$.datepicker.version = "1.8.6";
 
// Workaround for #4055
// Add another global to avoid noConflict issues with inline event handlers