mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Use the right variable to avoid breaking the whole app
This commit is contained in:
parent
ec0dc6c75f
commit
ac08939314
@ -1842,7 +1842,7 @@ app.classes.calendar = AppJS.extend(
|
||||
}
|
||||
}
|
||||
var value = [{start_date: state.state.first, end_date: state.state.last}];
|
||||
if(_view !== 'listview') this._need_data(value,state.state);
|
||||
if(state.state.view !== 'listview') this._need_data(value,state.state);
|
||||
}
|
||||
// Include first & last dates in state, mostly for server side processing
|
||||
if(state.state.first && state.state.first.toJSON) state.state.first = state.state.first.toJSON();
|
||||
|
Loading…
Reference in New Issue
Block a user