Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 10d029672116198408309257d55579fc1937ebd0 1 parent daf347f
Will Rossiter authored August 30, 2012

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  javascript/DateField.js
5  javascript/DateField.js
@@ -28,6 +28,9 @@
28 28
 
29 29
 	$('.field.date input.text').live('click', function() {
30 30
 		$(this).ssDatepicker();
31  
-		$(this).datepicker('show');
  31
+
  32
+		if($(this).data('datepicker')) {
  33
+			$(this).datepicker('show');
  34
+		}
32 35
 	});
33 36
 }(jQuery));

0 notes on commit 10d0296

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