Fallback calendar color to blue (#3542)

This commit is contained in:
Faris Ansari 2017-06-22 22:50:41 +05:30 committed by Rushabh Mehta
parent fb85e91ed6
commit fd082ea9f0

View file

@ -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;
});