mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-26 07:02:08 +01:00
Fix keyword (& other optional filters) did not work the first time
This commit is contained in:
parent
187614dddb
commit
f8552eb5b9
@ -1654,8 +1654,10 @@ app.classes.calendar = AppJS.extend(
|
|||||||
|
|
||||||
// Check for valid cache
|
// Check for valid cache
|
||||||
var cachable_changes = ['date','view','days','planner_days','sortby'];
|
var cachable_changes = ['date','view','days','planner_days','sortby'];
|
||||||
for(var s in this.state)
|
var keys = jQuery.unique(Object.keys(this.state).concat(Object.keys(state.state)));
|
||||||
|
for(var i = 0; i < keys.length; i++)
|
||||||
{
|
{
|
||||||
|
var s = keys[i];
|
||||||
if (this.state[s] !== state.state[s])
|
if (this.state[s] !== state.state[s])
|
||||||
{
|
{
|
||||||
if(cachable_changes.indexOf(s) === -1)
|
if(cachable_changes.indexOf(s) === -1)
|
||||||
|
Loading…
Reference in New Issue
Block a user