Skip to content

Commit

Permalink
End date button should trigger end date div. #158
Browse files Browse the repository at this point in the history
  • Loading branch information
bamnet committed Oct 30, 2012
1 parent 3096b04 commit e03eb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/contents/form_elements/_dates.html.erb
Expand Up @@ -12,7 +12,7 @@ $('#date_start').click(function(event) {
$('#date_end').click(function(event) {
event.stopPropagation();
var visible = $('#ui-datepicker-div').is(':hidden');
$("#start_time_date").datepicker(visible ? 'show' : 'hide');
$("#end_time_date").datepicker(visible ? 'show' : 'hide');
});


Expand Down

0 comments on commit e03eb87

Please sign in to comment.