diff options
author | Michael Scherle | 2016-12-18 21:10:04 +0100 |
---|---|---|
committer | Michael Scherle | 2016-12-18 21:10:04 +0100 |
commit | 85fc1c91141df28af0578460f77ce87594858f60 (patch) | |
tree | e5287d2f79c127c4cd1be5a88fdc0f9251aa35fb /modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js | |
parent | Funktion um json von HisInOne abzufragen, es wird aber noch keine neue Datei ... (diff) | |
download | slx-admin-85fc1c91141df28af0578460f77ce87594858f60.tar.gz slx-admin-85fc1c91141df28af0578460f77ce87594858f60.tar.xz slx-admin-85fc1c91141df28af0578460f77ce87594858f60.zip |
frontend: frontend now supports direkt calendar query if backends sends query url
Diffstat (limited to 'modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js')
-rwxr-xr-x | modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js b/modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js index 897437e7..4015503b 100755 --- a/modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js +++ b/modules-available/locationinfo/frontend/jquery-week-calendar/jquery.weekcalendar.js @@ -25,7 +25,7 @@ function SetUpDate(d) { startdate = d.getTime()-new Date().getTime(); } -function myDate() { +function MyDate() { return new Date(startdate +new Date().getTime()); } @@ -39,7 +39,7 @@ function myDate() { return { options: { - date: new myDate(), + date: new MyDate(), timeFormat: null, dateFormat: 'M d, Y', alwaysDisplayTimeMinutes: true, @@ -335,7 +335,7 @@ function myDate() { */ today: function() { this._clearCalendar(); - this._loadCalEvents(new myDate()); + this._loadCalEvents(new MyDate()); }, /* @@ -519,7 +519,7 @@ function myDate() { this._loadCalEvents(newDate); }, getCurrentFirstDay: function() { - return this._dateFirstDayOfWeek(this.options.date || new myDate()); + return this._dateFirstDayOfWeek(this.options.date || new MyDate()); }, getCurrentLastDay: function() { return this._addDays(this.getCurrentFirstDay(), this.options.daysToShow - 1); @@ -1266,7 +1266,7 @@ function myDate() { * Draws a thin line which indicates the current time. */ _drawCurrentHourLine: function() { - var d = new myDate(), + var d = new MyDate(), options = this.options, businessHours = options.businessHours; @@ -1993,7 +1993,7 @@ function myDate() { _isToday: function(date) { var clonedDate = this._cloneDate(date); this._clearTime(clonedDate); - var today = new myDate(); + var today = new MyDate(); this._clearTime(today); return today.getTime() === clonedDate.getTime(); }, |