소스 검색

#4346 Events: calendar has issues with the long-named events

Alex Trofimov 3 년 전
부모
커밋
4b071ffc91
2개의 변경된 파일과 4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      plugins_public/fullcalendar/index.global.min.js
  2. 2 2
      template/calendar.html

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 2 - 2
plugins_public/fullcalendar/index.global.min.js


+ 2 - 2
template/calendar.html

@@ -16,7 +16,7 @@
         },
         eventContent: function(oParams) {
             if(oParams.view.type != 'dayGridDay' || !oParams.event.extendedProps.card)
-                return oParams.event._def.title;
+                return {html: '<div class="fc-event-title">' + oParams.event._def.title + '</div>'};
 
             oParams.event.url = '';
             return {html: oParams.event.extendedProps.card};
@@ -29,4 +29,4 @@
         oBxFullCalendar = new FullCalendar.Calendar(document.getElementById('__id__'), $.extend({}, oDefaults, oOptions));
         oBxFullCalendar.render();
     });
-</script>
+</script>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.