Skip to content

Calendar rebase (3) #1352

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

Closed
wants to merge 25 commits into from
Closed

Conversation

fnagel
Copy link
Member

@fnagel fnagel commented Sep 29, 2014

This replaces #1316, but was itself replaced by #1371.

Change status caching, fix existing value related methods, introduce
$.date construction with date object, selected property is null by
default, add selected getter
This was referenced Sep 29, 2014
@fnagel fnagel force-pushed the calendar-value-pr2 branch 4 times, most recently from bb556be to c6f205f Compare September 30, 2014 22:40
fnagel added 23 commits October 1, 2014 00:43
Add calendar widget by copying and renaming datepicker widget files.
Remove datepicker functionality, options and methods from Calendar.
Remove calendar functionality, options and methods from Datepicker.
Adjust tests due to split and changed specification. Remove duplicated
demo files and fix some demos. Simplify calendar generation, use CSS
instead of inline styles. Fix destroy method. Make use of uniqueId
method. Fix focus highlighting when month is changed. Add version
property. Add common unit tests. Fix input keyboard handling.
Improve render day cell mechanism.
Remove shortcut for closing the calendar and erasing the date (CTRL+END)
Several minor code improvements and make suppressExpandOnFocus
an internal variable
Add Test if these options are set on the underlying calendar instance
}
if ( months[ i ].last ) {
headerClass = "ui-corner-right";
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If months[ i ].first and months[ i ].last are mutually exclusive, I suggest using else if.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed. This should be the case as long as we have two different methods for creating single and multiple datepickers.

@scottgonzalez
Copy link
Member

Opening the default datepicker demo results in "Uncaught Error: invalid value (undefined), string expected "

@fnagel
Copy link
Member Author

fnagel commented Oct 20, 2014

@scottgonzalez That Uncaught Error: invalid value (undefined), string expected " is fixed. It's needed to catch undefined values in _getCreateOptions.

@fnagel
Copy link
Member Author

fnagel commented Oct 22, 2014

@scottgonzalez Do you want me to open a new PR or should I force push my changes here?

@scottgonzalez
Copy link
Member

New PR every time, otherwise the discussion history is nearly impossible to follow.

@fnagel fnagel mentioned this pull request Oct 22, 2014
@fnagel
Copy link
Member Author

fnagel commented Oct 22, 2014

@scottgonzalez

New PR: #1371

@fnagel fnagel changed the title Calendar rebase (2) Calendar rebase (3) Dec 16, 2014
@fnagel fnagel deleted the calendar-value-pr2 branch August 25, 2015 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants