1021 | Schedule.prototype.getStartEndTime = function (startEndTime) {
1022 | if (!isNullOrUndefined(startEndTime) && startEndTime !== '') {
1023 | var startEndDate = util.resetTime(this.getCurrentTime());
> 1024 | var timeString = startEndTime.split(':');
| ^ 1025 | if (timeString.length === 2) {
1026 | startEndDate.setHours(parseInt(timeString[0], 10), parseInt(timeString[1], 10), 0);
1027 | }
58 | }
59 | }
60 | }
> 61 | date = isNullOrUndefined(scrollDate) ? this.parent.getStartEndTime(hour) : date;
| ^ 62 | if (isNullOrUndefined(date)) {
63 | return;
64 | }
1696 | this.activeView.scrollToDate(scrollDate);
1697 | }
1698 | else if (this.activeView.scrollToHour) {
> 1699 | this.activeView.scrollToHour(hour, scrollDate);
| ^ 1700 | }
1701 | };
1702 | /**
this.scheduleObj.scrollTo(this.instance.formatDate(new Date(), { skeleton: 'hm' })); |