Skip to content
Snippets Groups Projects
Commit 8c7c6b90 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '377-in-appointments-the-workers-are-not-visible' into 'devel_1.0.x'

Resolve "in Appointments the Workers are not visible"

See merge request NCER-PD/scheduling-system!312
parents 153434f9 96445794
No related branches found
No related tags found
3 merge requests!316Merge 1.0.1,!3151.0.1 into master,!312Resolve "in Appointments the Workers are not visible"
Pipeline #38452 passed
......@@ -7,6 +7,8 @@ smasch (1.0.1-1) stable; urgency=low
created before custom field was added to the study (#388)
* bug fix: readonly custom Date Field was improperly persisted in forms
(#383)
* bug fix: worker initials were not visible after changing appointments
calendar view from month to week (#377)
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 15 Mar 2021 14:00:00 +0200
......
......@@ -117,7 +117,10 @@
startParam: "start_date",
endParam: "end_date",
dayRender: function (date, cell) {
var element = document.createElement("div");
var element = dayHeaders[$(cell[0]).attr("data-date")];
if (element === undefined) {
element = document.createElement("div");
}
cell[0].appendChild(element);
dayHeaders[$(cell[0]).attr("data-date")] = element;
},
......@@ -146,7 +149,7 @@
if (event.status) {
content += '<li>Status: ' + event.status + '</li>'
}
content += "</ul>";
$(element).popover({
title: event.title,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment