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

Fixed calendar datetimepicker #67

Closed
wants to merge 17 commits into from

Conversation

omkarvijay5
Copy link
Member

No description provided.

$("#id_starts_at_picker").data("DateTimePicker").setStartDate(date);
$("#id_ends_at_picker").data("DateTimePicker").setStartDate(date);
$("#id_starts_at_picker").change(function(){
date_in_string = $("#id_starts_at").val();
Copy link
Member

Choose a reason for hiding this comment

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

@omkarvijay5 Define the variables with var else they become global and would lead to hard to locate bugs.

Copy link
Member

Choose a reason for hiding this comment

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

@akshar-raaj @omkarvijay5 : Maybe we should add jshint to our lint file?

@omkarvijay5 omkarvijay5 closed this Oct 6, 2014
@omkarvijay5 omkarvijay5 deleted the fixing_calendar_datetimepicker branch October 6, 2014 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants