mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
Still accept old style favorites on the client side, as they're still handled on the server side.
This commit is contained in:
parent
0d77d8e62a
commit
dd0e541605
@ -926,7 +926,9 @@ var AppJS = (function(){ "use strict"; return Class.extend(
|
||||
if(!favorite || jQuery.isEmptyObject(favorite)) return;
|
||||
|
||||
var match_count = 0;
|
||||
var extra_keys = Object.keys(favorite.state);
|
||||
var extra_keys = favorite.state ?
|
||||
Object.keys(favorite.state) : // New
|
||||
Object.keys(favorite.filter); // Old
|
||||
for(var state_key in state)
|
||||
{
|
||||
extra_keys.splice(extra_keys.indexOf(state_key),1);
|
||||
|
Loading…
Reference in New Issue
Block a user