mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Handle cat_id == '0' as false, fixes missing None line
This commit is contained in:
parent
c1e374ea02
commit
138065be64
@ -583,7 +583,10 @@ var et2_calendar_planner = et2_calendar_view.extend([et2_IDetachedDOM, et2_IResi
|
||||
},{application: 'calendar'});
|
||||
|
||||
var labels = [];
|
||||
if(!app.calendar.state.cat_id || app.calendar.state.cat_id.toString() === '')
|
||||
if(!app.calendar.state.cat_id ||
|
||||
app.calendar.state.cat_id.toString() === '' ||
|
||||
app.calendar.state.cat_id.toString() == '0'
|
||||
)
|
||||
{
|
||||
app.calendar.state.cat_id = '';
|
||||
labels.push({id:'',value:'',label: egw.lang('none'), main: '', data: {}});
|
||||
|
Loading…
Reference in New Issue
Block a user