mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Fix
This commit is contained in:
@@ -221,10 +221,14 @@ export class AgendaPage implements OnInit {
|
|||||||
//Go to the next view of the calendar month/week/day
|
//Go to the next view of the calendar month/week/day
|
||||||
next() {
|
next() {
|
||||||
this.myCal.slideNext();
|
this.myCal.slideNext();
|
||||||
|
this.myCal.loadEvents();
|
||||||
|
this.myCal.update();
|
||||||
}
|
}
|
||||||
//Go to the previous view of the calendar
|
//Go to the previous view of the calendar
|
||||||
back(){
|
back(){
|
||||||
this.myCal.slidePrev();
|
this.myCal.slidePrev();
|
||||||
|
this.myCal.loadEvents();
|
||||||
|
this.myCal.update();
|
||||||
}
|
}
|
||||||
//Shows the title of your view
|
//Shows the title of your view
|
||||||
onViewTitleChanged(title){
|
onViewTitleChanged(title){
|
||||||
@@ -429,6 +433,8 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
loadRangeEvents(startTime: Date, endTime: Date) {
|
loadRangeEvents(startTime: Date, endTime: Date) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.eventSelectedDate = new Date(startTime);
|
this.eventSelectedDate = new Date(startTime);
|
||||||
|
|
||||||
this.showLoader = true;
|
this.showLoader = true;
|
||||||
@@ -477,7 +483,7 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
const list = this.timelineFilter(this.timelineFilterState, eventsList, 'mdgpr');
|
const list = this.timelineFilter(this.timelineFilterState, eventsList, 'mdgpr');
|
||||||
|
|
||||||
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'md', startTime, endTime, 'date')
|
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'md', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
this.events = list;
|
this.events = list;
|
||||||
// optional
|
// optional
|
||||||
@@ -532,7 +538,7 @@ export class AgendaPage implements OnInit {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'pr', startTime, endTime, 'date')
|
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'pr', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
this.myCal.update();
|
this.myCal.update();
|
||||||
this.myCal.loadEvents();
|
this.myCal.loadEvents();
|
||||||
@@ -580,7 +586,7 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'pr', startTime, endTime, 'date')
|
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'pr', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
this.myCal.update();
|
this.myCal.update();
|
||||||
this.myCal.loadEvents();
|
this.myCal.loadEvents();
|
||||||
@@ -628,7 +634,7 @@ export class AgendaPage implements OnInit {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'md', startTime, endTime, 'date')
|
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'md', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
this.myCal.update();
|
this.myCal.update();
|
||||||
this.myCal.loadEvents();
|
this.myCal.loadEvents();
|
||||||
@@ -666,7 +672,7 @@ export class AgendaPage implements OnInit {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'pr', startTime, endTime, 'date')
|
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'pr', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
|
|
||||||
this.myCal.update();
|
this.myCal.update();
|
||||||
@@ -715,7 +721,7 @@ export class AgendaPage implements OnInit {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'md', startTime, endTime, 'date')
|
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'md', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
this.myCal.update();
|
this.myCal.update();
|
||||||
this.myCal.loadEvents();
|
this.myCal.loadEvents();
|
||||||
@@ -754,7 +760,7 @@ export class AgendaPage implements OnInit {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'pr', startTime, endTime, 'date')
|
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'pr', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
this.myCal.update();
|
this.myCal.update();
|
||||||
this.myCal.loadEvents();
|
this.myCal.loadEvents();
|
||||||
@@ -809,7 +815,7 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'md', startTime, endTime, 'date')
|
this.TimelineMDList = this.eventListBoxComponent.list(this.eventSource, 'md', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
this.myCal.update();
|
this.myCal.update();
|
||||||
this.myCal.loadEvents();
|
this.myCal.loadEvents();
|
||||||
@@ -856,7 +862,7 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this.TimelinePRList = this.eventListBoxComponent.list(this.eventSource, 'pr', startTime, endTime, 'date')
|
this.TimelinePRList = this.eventListBoxComponent.list(this.eventSource, 'pr', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
this.myCal.update();
|
this.myCal.update();
|
||||||
this.myCal.loadEvents();
|
this.myCal.loadEvents();
|
||||||
@@ -919,7 +925,7 @@ export class AgendaPage implements OnInit {
|
|||||||
this.TimelinePR = this.timelineFilter(this.timelineFilterState, eventsList, 'pr');
|
this.TimelinePR = this.timelineFilter(this.timelineFilterState, eventsList, 'pr');
|
||||||
|
|
||||||
|
|
||||||
this.TimelinePRList = this.eventListBoxComponent.list(this.eventSource, 'pr', startTime, endTime, 'date')
|
this.TimelinePRList = this.eventListBoxComponent.list(this.eventSource, 'pr', this.rangeStartDate, this.rangeEndDate, 'date')
|
||||||
|
|
||||||
this.myCal.update();
|
this.myCal.update();
|
||||||
this.myCal.loadEvents();
|
this.myCal.loadEvents();
|
||||||
|
|||||||
Reference in New Issue
Block a user