[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 24 15:01:14 CEST 2012


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

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 5e6110b..2a7265e 100644
--- a/app/modules/Cronks/lib/js/Tabhelper.js
+++ b/app/modules/Cronks/lib/js/Tabhelper.js
@@ -216,6 +216,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