Commit 126ef933 authored by EXT Hélène David's avatar EXT Hélène David
Browse files

added restriction to task end date

parent 42fd3a74
......@@ -78,7 +78,7 @@ function DateController($utilsFactory,$element,$timeout) {
var dateElement = $element.find('input');
$timeout(function(){
var t =$(dateElement ).datepicker({dateFormat: 'yy-mm-dd',onSelect: function(date) {
var t =$(dateElement ).datepicker({dateFormat: 'yy-mm-dd', minDate: 0, onSelect: function(date) {
console.log("on sélectionne");
ctrl.selectedDate = $(dateElement).val();
console.log(ctrl.selectedDate);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment