mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:22:25 +02: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}];
|
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
|
// 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();
|
if(state.state.first && state.state.first.toJSON) state.state.first = state.state.first.toJSON();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user