diff --git a/CHANGELOG b/CHANGELOG index 6ded4c0..f0908b1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +Version 1.2.2 +------------- + + * Fix for jQuery 1.5 + Version 1.2.1 ------------- diff --git a/LICENCE b/LICENCE index ff0d705..1b5382c 100644 --- a/LICENCE +++ b/LICENCE @@ -1,3 +1,4 @@ +Copyright (c) 20011 Bruno Bierbaumer & Symvaro GmbH Copyright (c) 2007-2008 Jonathan Leighton & Torchbox Ltd Permission is hereby granted, free of charge, to any person diff --git a/README b/README index 378c81b..b550047 100644 --- a/README +++ b/README @@ -1,3 +1,3 @@ Find out all you need to know at: - http://jonathanleighton.com/projects/date-input + http://github.com/Symvaro/date_input diff --git a/jquery.date_input.js b/jquery.date_input.js index 84ae311..082c4d5 100644 --- a/jquery.date_input.js +++ b/jquery.date_input.js @@ -101,14 +101,14 @@ DateInput.prototype = { this.changeInput($(event.target).attr("date")); })); - $("td[date=" + this.dateToString(new Date()) + "]", this.tbody).addClass("today"); + $('td[date="' + this.dateToString(new Date()) + '"]', this.tbody).addClass("today"); $("td.selectable_day", this.tbody).mouseover(function() { $(this).addClass("hover") }); $("td.selectable_day", this.tbody).mouseout(function() { $(this).removeClass("hover") }); }; $('.selected', this.tbody).removeClass("selected"); - $('td[date=' + this.selectedDateString + ']', this.tbody).addClass("selected"); + $('td[date="' + this.selectedDateString + '"]', this.tbody).addClass("selected"); }, // Select a particular date. If the date is not specified it is read from the input. If no date is diff --git a/metadata.rb b/metadata.rb index f98848a..c017d9d 100644 --- a/metadata.rb +++ b/metadata.rb @@ -1,3 +1,3 @@ NAME = "Date Input" -VERSION = "1.2.1" +VERSION = "1.2.2" JQUERY = ">= 1.2.6"