[icinga-checkins] icinga.org: icinga-web/mhein/default: * Added cronk icon to anonymous filteredGrids

git at icinga.org git at icinga.org
Wed Jan 19 10:49:51 CET 2011


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

Author: Marius Hein <marius.hein at netways.de>
Date:   Tue Jan 18 17:23:12 2011 +0100

* Added cronk icon to anonymous filteredGrids

---

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

diff --git a/app/modules/Cronks/lib/js/CronkUtil.js b/app/modules/Cronks/lib/js/CronkUtil.js
index 146ad49..4d27767 100755
--- a/app/modules/Cronks/lib/js/CronkUtil.js
+++ b/app/modules/Cronks/lib/js/CronkUtil.js
@@ -199,6 +199,10 @@ Cronk.util.InterGridUtil = function(){
 			// disable grid autoload
 			config.params['storeDisableAutoload'] = 1;
 			
+			if (!Ext.isDefined(config.iconCls)) {
+				config.iconCls = 'icinga-cronk-icon-cube';
+			}
+			
 			if (!panel) {
 				
 				panel = Cronk.factory(config);					





More information about the icinga-checkins mailing list