* 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 8f13e3516d
commit 732582305b

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