* Calendar: fix not working refresh via push, if Home app is used

Current fix only makes sure global app.calendar created by home get completly destroyed (and newly created by calendar itself), and not just unregistered from the push
We probably want to modify home to create private app objects for its portlets
This commit is contained in:
Ralf Becker 2020-07-29 18:19:08 +02:00
parent c5f03f6413
commit 33d983f547

View File

@ -194,6 +194,7 @@ var fw_browser = (function(){ "use strict"; return Class.extend(
if(app[this.app.appName] && app[this.app.appName].destroy)
{
app[this.app.appName].destroy();
delete app[this.app.appName]; // really delete it, so new object get constructed and registered for push
}
// Unload etemplate2, if there