mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 08:25:03 +02:00
Merge remote-tracking branch 'origin/master' into upstream_master
This commit is contained in:
@ -1246,6 +1246,15 @@ export abstract class EgwApp
|
||||
this.egw.set_preference(this.appname, favorite_pref, favorite);
|
||||
}
|
||||
|
||||
// Trigger event so widgets can update
|
||||
document.dispatchEvent(new CustomEvent("preferenceChange", {
|
||||
bubbles: true,
|
||||
detail: {
|
||||
application: this.appname,
|
||||
preference: favorite_pref
|
||||
}
|
||||
}));
|
||||
|
||||
// Add to list immediately
|
||||
if(this.sidebox)
|
||||
{
|
||||
|
Reference in New Issue
Block a user