ソースを参照

Fallback calendar color to blue (#3542)

version-14
Faris Ansari 8年前
committed by Rushabh Mehta
コミット
fd082ea9f0
1個のファイルの変更2行の追加0行の削除
  1. +2
    -0
      frappe/public/js/frappe/views/calendar/calendar.js

+ 2
- 0
frappe/public/js/frappe/views/calendar/calendar.js ファイルの表示

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


読み込み中…
キャンセル
保存