[icinga-checkins] icinga.org: icinga-web/master: * Fixed columnImage

git at icinga.org git at icinga.org
Thu Nov 17 15:56:42 CET 2011


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

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Thu Nov 17 15:56:32 2011 +0100

* Fixed columnImage

---

 .../Cronks/lib/js/grid/renderer/ColumnRenderer.js  |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/app/modules/Cronks/lib/js/grid/renderer/ColumnRenderer.js b/app/modules/Cronks/lib/js/grid/renderer/ColumnRenderer.js
index ff6eb71..cdd4580 100755
--- a/app/modules/Cronks/lib/js/grid/renderer/ColumnRenderer.js
+++ b/app/modules/Cronks/lib/js/grid/renderer/ColumnRenderer.js
@@ -134,7 +134,10 @@ Cronk.grid.ColumnRenderer = {
 				imgName = imgName.replace(/^\s\s*/, '').replace(/\s\s*$/, '');
 				metaData.style += String.format("background: transparent url('{0}/{1}') center center no-repeat;", AppKit.c.path, imgName);
 				
-				return "<div style=\"" + (flat_attr && " " + flat_attr + " ") + "></div>";
+
+
+
+				return "<div style='width:24px;height:24px' " + (flat_attr && " " + flat_attr + " ") + "></div>";
 			}
 		}
 	},





More information about the icinga-checkins mailing list