This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fallback calendar color to blue (
#3542
)
version-14
Faris Ansari
8 years ago
committed by
Rushabh Mehta
parent
fb85e91ed6
commit
fd082ea9f0
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
frappe/public/js/frappe/views/calendar/calendar.js
+ 2
- 0
frappe/public/js/frappe/views/calendar/calendar.js
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;
});
Write
Preview
Loading…
Cancel
Save