CC-3960: Day of week text is missing from monthly Calendar view
-fixed
This commit is contained in:
parent
16b6f09420
commit
d348d21c10
|
@ -91,16 +91,15 @@ denise@denise-DX4860:~/airtime/airtime_mvc/public/js/fullcalendar$ diff -u fullc
|
|||
clearEvents();
|
||||
}
|
||||
- updateCells(firstTime);
|
||||
+ getOffset();
|
||||
+ getOffset(firstTime);
|
||||
}
|
||||
|
||||
-
|
||||
-
|
||||
+ function getOffset() {
|
||||
+ function getOffset(firstTime) {
|
||||
+ var timezoneOffset;
|
||||
+ $.ajax({ url: "/Api/calendar-init/format/json", dataType:"json", success:function(data) {
|
||||
+ timezoneOffset = data.calendarInit.timezoneOffset*1000;
|
||||
+ var firstTime = !body;
|
||||
+ updateCells(firstTime, timezoneOffset);
|
||||
+ }, error:function(jqXHR, textStatus, errorThrown){}});
|
||||
+ }
|
||||
|
|
|
@ -2187,14 +2187,13 @@ function BasicView(element, calendar, viewName) {
|
|||
}else{
|
||||
clearEvents();
|
||||
}
|
||||
getOffset();
|
||||
getOffset(firstTime);
|
||||
}
|
||||
|
||||
function getOffset() {
|
||||
function getOffset(firstTime) {
|
||||
var timezoneOffset;
|
||||
$.ajax({ url: "/Api/calendar-init/format/json", dataType:"json", success:function(data) {
|
||||
timezoneOffset = data.calendarInit.timezoneOffset*1000;
|
||||
var firstTime = !body;
|
||||
updateCells(firstTime, timezoneOffset);
|
||||
}, error:function(jqXHR, textStatus, errorThrown){}});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue