From ba0e9e634a7336994e7d3a4fe7ebc6d99a87d43a Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Thu, 16 May 2019 17:08:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E5=8D=B7=E7=9A=84=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E3=80=81=E6=88=AA=E6=AD=A2=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=B2=BE=E7=A1=AE=E5=88=B015=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/javascripts/edu/course.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/javascripts/edu/course.js b/public/javascripts/edu/course.js index 3428011b..8aed5e7a 100644 --- a/public/javascripts/edu/course.js +++ b/public/javascripts/edu/course.js @@ -733,6 +733,7 @@ $(function(){ lang:'ch', format:'Y-m-d H:i', validateOnBlur:false, + step: 15, onSelectDate:function() { if($.trim($("input[name='exercise_end_time']").val()) == ""){ var date = new Date(Date.parse($("input[name='exercise_publish_time']").val().replace(/-/g, "/"))); @@ -751,6 +752,7 @@ $(function(){ allowBlank:true, lang:'ch', format:'Y-m-d H:i', + step: 15, validateOnBlur:false }); @@ -759,6 +761,7 @@ $(function(){ allowBlank:true, lang:'ch', format:'Y-m-d H:i', + step: 15, validateOnBlur:false, onSelectDate:function() { if($.trim($($("input[name='exercise_end_time_group[]']")[i]).val()) == ""){ @@ -780,6 +783,7 @@ $(function(){ allowBlank:true, lang:'ch', format:'Y-m-d H:i', + step: 15, validateOnBlur:false }); });