-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Calendar: Add working year / month select demo #1803
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
Calendar: Add working year / month select demo #1803
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do this as an extension instead and add the old options back.
return title | ||
.append( month ) | ||
.append( " " ) | ||
.append( year ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this order locale specific?
changeYear: true | ||
$.widget( "custom.calendarWithSelect", $.ui.calendar, { | ||
_buildTitle: function() { | ||
var title = $( "<div>", { role: "alert", id: this.gridId + "-month-label" } ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm...Can we come up with a way to avoid using internal properties like this.gridId
?
} | ||
} ); | ||
|
||
for ( ;i < 12; i++ ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space after semicolon
ce6f34a
to
2ac81ad
Compare
2ac81ad
to
d6de67a
Compare
@scottgonzalez Updated the branch. Please review! Tests fail again, but this time I'm not able to reproduce it locally :-/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with merging this even with the failing test since we have a plan to address that. You can just comment out that test for now so that we can identify new failures easily.
No description provided.