30일 보다 짧은 기간의 설문조사 문제

30일 보다 유효기간이 짧은 설문조사는 생성이 불가능(UI 상에서)했던 문제 수정.
This commit is contained in:
MinSoo Kim 2016-01-26 18:42:55 +09:00
parent 494652ea55
commit dda216d4f6
3 changed files with 13 additions and 12 deletions

View file

@ -31,9 +31,10 @@ $(function(){
, onSelect:function(){
$(this).prev('input[type="hidden"]').val(this.value.replace(/-/g,""));
}
,minDate: new Date("{date('Y-m-d',time()+60*60*24*30)}")
,defaultDate: new Date("{date('Y-m-d',time()+60*60*24*30)}")
,minDate: new Date("{date('Y-m-d',time())}")
};
$.extend(option,$.datepicker.regional['{$lang_type}']);
$.extend(option,$.datepicker.regional['{str_replace('jp','ja',$lang_type)}']);
$(".inputDate").datepicker(option);
});
})(jQuery);