Parcourir la source

Fallback calendar color to blue (#3542)

version-14
Faris Ansari il y a 8 ans
committed by Rushabh Mehta
Parent
révision
fd082ea9f0
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. +2
    -0
      frappe/public/js/frappe/views/calendar/calendar.js

+ 2
- 0
frappe/public/js/frappe/views/calendar/calendar.js Voir le fichier

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


Chargement…
Annuler
Enregistrer