[FIX] web_calendar: operator prirority typo from e029724

This commit is contained in:
Nicolas Lempereur
2016-02-11 16:34:33 +01:00
parent 33755f1882
commit fb7bb95a11
@@ -630,7 +630,7 @@ var CalendarView = View.extend({
r.className = 'o_calendar_color_'+ this.get_color(color_key);
}
} else { // if form all, get color -1
r.className = 'o_calendar_color_'+ self.all_filters[-1] ? self.all_filters[-1].color : 1;
r.className = 'o_calendar_color_'+ (self.all_filters[-1] ? self.all_filters[-1].color : 1);
}
return r;
},