[icinga-checkins] icinga.org: icinga-web/mhein/default: * fixed status-summary charts for Internet Explorer

git at icinga.org git at icinga.org
Fri Oct 23 12:01:15 CEST 2009


Module: icinga-web
Branch: mhein/default
Commit: ac430309487055ff9c8356b1a1f9cd23aa5b3c08
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=ac430309487055ff9c8356b1a1f9cd23aa5b3c08

Author: Christian Doebler <christian.doebler at netways.de>
Date:   Thu Oct 22 12:46:07 2009 +0200

* fixed status-summary charts for Internet Explorer

---

 .../templates/System/StatusSummarySuccess.php      |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/app/modules/Cronks/templates/System/StatusSummarySuccess.php b/app/modules/Cronks/templates/System/StatusSummarySuccess.php
index 33ce55b..9c4b9c4 100644
--- a/app/modules/Cronks/templates/System/StatusSummarySuccess.php
+++ b/app/modules/Cronks/templates/System/StatusSummarySuccess.php
@@ -334,7 +334,7 @@ var dummyCronkDisplayStateSummary = function () {
 				}
 			}
 
-			var containerWidth = (this.panel.getComponent(this.panelDefs.chart.itemId).body.dom.clientWidth / 2) - 60;
+			var containerWidth = (this.panel.getComponent(this.panelDefs.chart.itemId).getWidth() / 2) - 60;
 			var numElements = graphElements.length;
 			var containerItems = [];
 
@@ -345,12 +345,12 @@ var dummyCronkDisplayStateSummary = function () {
 
 			var container = new Ext.Container({
 				cls: "status-summary-" + dataType,
-				autoEl: 'div', 
-				layout: 'column',
+				autoEl: "div", 
+				layout: "column",
 				defaults: {
-					xtype: 'container',
-					autoEl: 'div',
-					layout: 'auto',
+					xtype: "container",
+					autoEl: "div",
+					layout: "auto",
 					style: {
 						border: "none"
 					}





More information about the icinga-checkins mailing list