Commit ca70c8cf by 周添尉

修改首页日历的一个小bug

parent c35eb5db
......@@ -1237,7 +1237,13 @@ function init_index_fullCalendar() {
//开始时间
var start = calEvent.start._i;
//结束时间
var end = calEvent.end._i;
var end = '';
if(calEvent.end==null){
end = start;
}
else{
end = calEvent.end._i;
}
//颜色
var color = calEvent.color;
......@@ -1485,7 +1491,6 @@ function init_index_color(color) {
color = '#ECC';
}
$("#index_calendarColor").val(color);
console.log($("#index_calendarColor"))
$("#index_calendarColor").spectrum({
/*allowEmpty:true,*/
color : color,
......
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