Permalink
Browse files

End date button should trigger end date div. #158

  • Loading branch information...
1 parent 3096b04 commit e03eb87b05251fccc7eb2ded020d610bebe3e37a @bamnet bamnet committed Oct 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/contents/form_elements/_dates.html.erb
@@ -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');
});

0 comments on commit e03eb87

Please sign in to comment.