Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FIX: ensure date input has a date picker to trigger open (#7504)

  • Loading branch information...
commit 10d029672116198408309257d55579fc1937ebd0 1 parent daf347f
@wilr wilr authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 javascript/DateField.js
View
5 javascript/DateField.js
@@ -28,6 +28,9 @@
$('.field.date input.text').live('click', function() {
$(this).ssDatepicker();
- $(this).datepicker('show');
+
+ if($(this).data('datepicker')) {
+ $(this).datepicker('show');
+ }
});
}(jQuery));
Please sign in to comment.
Something went wrong with that request. Please try again.