Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute selectors need to be quoted for latest jQuery 1.5 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 1.2.2
-------------

* Fix for jQuery 1.5

Version 1.2.1
-------------

Expand Down
1 change: 1 addition & 0 deletions LICENCE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Find out all you need to know at:

http://jonathanleighton.com/projects/date-input
http://github.com/Symvaro/date_input
4 changes: 2 additions & 2 deletions jquery.date_input.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
NAME = "Date Input"
VERSION = "1.2.1"
VERSION = "1.2.2"
JQUERY = ">= 1.2.6"