[icinga-checkins] icinga.org: icinga-web/master: * Fixed missing component destruction when reloading whole cronks ( fixes #2447)

git at icinga.org git at icinga.org
Tue Apr 17 10:43:20 CEST 2012


Module: icinga-web
Branch: master
Commit: 096a6fea79983c837de154279a6bf0882865991b
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=096a6fea79983c837de154279a6bf0882865991b

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Fri Mar 23 10:54:05 2012 +0100

* Fixed missing component destruction when reloading whole cronks (fixes #2447)

---

 app/modules/Cronks/lib/js/Tabhelper.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/app/modules/Cronks/lib/js/Tabhelper.js b/app/modules/Cronks/lib/js/Tabhelper.js
index f9438a7..1ae09c5 100644
--- a/app/modules/Cronks/lib/js/Tabhelper.js
+++ b/app/modules/Cronks/lib/js/Tabhelper.js
@@ -233,6 +233,7 @@ Cronk.util.CronkTabHelper = Ext.extend(Object, {
                     tooltip: _("Reload the cronk (not the content)"), 
                     iconCls: 'icinga-icon-arrow-refresh',
                     handler: function() {
+                        ctxItem.removeAll();
                         ctxItem.getUpdater().refresh();
                     }
                 }, {





More information about the icinga-checkins mailing list