From 33d983f547b67690dbea8f63a63a8c6f97935042 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 29 Jul 2020 18:19:08 +0200 Subject: [PATCH] * 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 --- api/js/framework/fw_browser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/js/framework/fw_browser.js b/api/js/framework/fw_browser.js index 92bbe108d2..3732e8edb4 100644 --- a/api/js/framework/fw_browser.js +++ b/api/js/framework/fw_browser.js @@ -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