1.2.3
This commit is contained in:
parent
df4828e05d
commit
e2f3c6e74a
3 changed files with 9 additions and 6 deletions
|
@ -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)
|
version 1.2.2 (9/21/09)
|
||||||
- backport of gcal max-results bug
|
- backport of gcal max-results bug
|
||||||
|
|
||||||
|
|
|
@ -285,7 +285,7 @@
|
||||||
if (bo) { // "button options"
|
if (bo) { // "button options"
|
||||||
var buttons = $("<div class='full-calendar-buttons'/>").appendTo(header);
|
var buttons = $("<div class='full-calendar-buttons'/>").appendTo(header);
|
||||||
if (bo == true || bo.today !== false) {
|
if (bo == true || bo.today !== false) {
|
||||||
todayButton = $("<button class='today' />")
|
todayButton = $("<button class='today' type='button' />")
|
||||||
.append($("<span />").html(
|
.append($("<span />").html(
|
||||||
typeof bo.today == 'string' ?
|
typeof bo.today == 'string' ?
|
||||||
bo.today : "today"))
|
bo.today : "today"))
|
||||||
|
@ -293,7 +293,7 @@
|
||||||
buttons.append(todayButton);
|
buttons.append(todayButton);
|
||||||
}
|
}
|
||||||
if (bo.prevYear) {
|
if (bo.prevYear) {
|
||||||
var b = $("<button class='prev-year' />")
|
var b = $("<button class='prev-year' type='button' />")
|
||||||
.append($("<span />")
|
.append($("<span />")
|
||||||
.html(typeof bo.prevYear == 'string' ?
|
.html(typeof bo.prevYear == 'string' ?
|
||||||
bo.prevYear : "«"))
|
bo.prevYear : "«"))
|
||||||
|
@ -302,7 +302,7 @@
|
||||||
else buttons.append(b);
|
else buttons.append(b);
|
||||||
}
|
}
|
||||||
if (bo == true || bo.prevMonth !== false) {
|
if (bo == true || bo.prevMonth !== false) {
|
||||||
var b = $("<button class='prev-month' />")
|
var b = $("<button class='prev-month' type='button' />")
|
||||||
.append($("<span />")
|
.append($("<span />")
|
||||||
.html(typeof bo.prevMonth == 'string' ?
|
.html(typeof bo.prevMonth == 'string' ?
|
||||||
bo.prevMonth : (r2l ? ">" : "<")))
|
bo.prevMonth : (r2l ? ">" : "<")))
|
||||||
|
@ -311,7 +311,7 @@
|
||||||
else buttons.append(b);
|
else buttons.append(b);
|
||||||
}
|
}
|
||||||
if (bo == true || bo.nextMonth !== false) {
|
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' ?
|
.append($("<span />").html(typeof bo.nextMonth == 'string' ?
|
||||||
bo.nextMonth : (r2l ? "<" : ">")))
|
bo.nextMonth : (r2l ? "<" : ">")))
|
||||||
.click(nextMonth);
|
.click(nextMonth);
|
||||||
|
@ -319,7 +319,7 @@
|
||||||
else buttons.append(b);
|
else buttons.append(b);
|
||||||
}
|
}
|
||||||
if (bo.nextYear) {
|
if (bo.nextYear) {
|
||||||
var b = $("<button class='next-year' />")
|
var b = $("<button class='next-year' type='button' />")
|
||||||
.append($("<span />").html(typeof bo.nextYear == 'string'
|
.append($("<span />").html(typeof bo.nextYear == 'string'
|
||||||
? bo.nextYear : "»"))
|
? bo.nextYear : "»"))
|
||||||
.click(nextYear);
|
.click(nextYear);
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.2.2
|
1.2.3
|
Loading…
Reference in a new issue