Fallback calendar color to blue (#3542)
This commit is contained in:
parent
fb85e91ed6
commit
fd082ea9f0
1 changed files with 2 additions and 0 deletions
|
|
@ -252,6 +252,8 @@ frappe.views.Calendar = Class.extend({
|
|||
// see event_calendar.js
|
||||
color = d.color;
|
||||
}
|
||||
|
||||
if(!color) color = "blue";
|
||||
d.className = "fc-bg-" + color;
|
||||
return d;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue