Skip to content
Browse files

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

  • Loading branch information...
1 parent daf347f commit 10d029672116198408309257d55579fc1937ebd0 @wilr wilr committed
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));

0 comments on commit 10d0296

Please sign in to comment.
Something went wrong with that request. Please try again.