v1.2.x v1.2.3
Adam Shaw 2009-10-14 05:22:49 +00:00
parent df4828e05d
commit e2f3c6e74a
3 changed files with 9 additions and 6 deletions

View File

@ -1,4 +1,7 @@
version 1.2.3 (10/13/09)
- fixed <button> postback bug when calendar is within a <form>
version 1.2.2 (9/21/09)
- backport of gcal max-results bug

View File

@ -285,7 +285,7 @@
if (bo) { // "button options"
var buttons = $("<div class='full-calendar-buttons'/>").appendTo(header);
if (bo == true || bo.today !== false) {
todayButton = $("<button class='today' />")
todayButton = $("<button class='today' type='button' />")
.append($("<span />").html(
typeof bo.today == 'string' ?
bo.today : "today"))
@ -293,7 +293,7 @@
buttons.append(todayButton);
}
if (bo.prevYear) {
var b = $("<button class='prev-year' />")
var b = $("<button class='prev-year' type='button' />")
.append($("<span />")
.html(typeof bo.prevYear == 'string' ?
bo.prevYear : "&laquo;"))
@ -302,7 +302,7 @@
else buttons.append(b);
}
if (bo == true || bo.prevMonth !== false) {
var b = $("<button class='prev-month' />")
var b = $("<button class='prev-month' type='button' />")
.append($("<span />")
.html(typeof bo.prevMonth == 'string' ?
bo.prevMonth : (r2l ? "&gt;" : "&lt;")))
@ -311,7 +311,7 @@
else buttons.append(b);
}
if (bo == true || bo.nextMonth !== false) {
var b = $("<button class='next-month' />")
var b = $("<button class='next-month' type='button' />")
.append($("<span />").html(typeof bo.nextMonth == 'string' ?
bo.nextMonth : (r2l ? "&lt;" : "&gt;")))
.click(nextMonth);
@ -319,7 +319,7 @@
else buttons.append(b);
}
if (bo.nextYear) {
var b = $("<button class='next-year' />")
var b = $("<button class='next-year' type='button' />")
.append($("<span />").html(typeof bo.nextYear == 'string'
? bo.nextYear : "&raquo;"))
.click(nextYear);

View File

@ -1 +1 @@
1.2.2
1.2.3