Bug 20568: Fix bad resolution conflict with bug 18403
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / calendar.inc
index a4bbe62..f13a1fa 100644 (file)
@@ -135,7 +135,12 @@ $.datepicker.setDefaults({
         buttonImageOnly: true,
         showButtonPanel: true,
         showOtherMonths: true,
-        selectOtherMonths: true
+        selectOtherMonths: true,
+        yearRange: "c-100:c+10"
+    });
+
+$("#dateofbirth").datepicker({
+        yearRange: "c-100:c"
     });
 
     $( ".datepicker" ).datepicker({