[icinga-checkins] icinga.org: icinga-web/mhein/default: * Fixed filter window size bug ( fixes #232)

git at icinga.org git at icinga.org
Mon Jan 11 13:07:39 CET 2010


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

Author: Marius Hein <marius.hein at netways.de>
Date:   Mon Jan 11 13:06:52 2010 +0100

* Fixed filter window size bug (fixes #232)

---

 .../System/ViewProc/js/IcingaGridFilterHandler.js  |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/app/modules/Cronks/templates/System/ViewProc/js/IcingaGridFilterHandler.js b/app/modules/Cronks/templates/System/ViewProc/js/IcingaGridFilterHandler.js
index 17b747c..f1336c4 100644
--- a/app/modules/Cronks/templates/System/ViewProc/js/IcingaGridFilterHandler.js
+++ b/app/modules/Cronks/templates/System/ViewProc/js/IcingaGridFilterHandler.js
@@ -49,11 +49,9 @@ var IcingaGridFilterWindow = function() {
 		if (!oWin) {
 			oWin = new Ext.Window({
 				title: '<?php echo $tm->_("Modify filter"); ?>',
-				// width: 200,
-				// height: 200,
 				closeAction: 'hide',
 				width: 500,
-				layout: 'fit',
+				// layout: 'fit',
 				
 				defaults: {
 					border: false
@@ -62,6 +60,10 @@ var IcingaGridFilterWindow = function() {
 				listeners: {
 					add: function(co, oNew, index) {
 						co.doLayout();
+					},
+					
+					remove: function(oc, oremove) {
+						oc.doLayout();
 					}
 				},
 				





More information about the icinga-checkins mailing list