mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-16 04:53:18 +01:00
Prevent apps from modifying favorites by reference.
Fixes projectmanager favorites stop working
This commit is contained in:
parent
2240eb3105
commit
cace3b27c9
@ -385,7 +385,8 @@ var AppJS = Class.extend(
|
||||
var pref = egw.preference('favorite_' + this.dataset.id, self.appname);
|
||||
if(pref)
|
||||
{
|
||||
state = pref;
|
||||
// Extend, to prevent changing the preference by reference
|
||||
jQuery.extend(true, state, pref);
|
||||
}
|
||||
if(this.dataset.id != 'add')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user