[icinga-checkins] icinga.org: icinga-web/mhein/testing: * Search now stays open on click, services are displayed on host-click (fixes #1815)

git at icinga.org git at icinga.org
Fri Aug 12 12:28:37 CEST 2011


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

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Fri Aug 12 12:01:27 2011 +0200

* Search now stays open on click, services are displayed on host-click (fixes #1815)

---

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

diff --git a/app/modules/Cronks/lib/js/SearchHandler.js b/app/modules/Cronks/lib/js/SearchHandler.js
index 6f2939a..6627d78 100644
--- a/app/modules/Cronks/lib/js/SearchHandler.js
+++ b/app/modules/Cronks/lib/js/SearchHandler.js
@@ -262,7 +262,7 @@ Cronk.util.SearchHandler =  function(c) {
 				case 'host':
 					filter['f[host_object_id-value]'] = re.data.object_id;
 					filter['f[host_object_id-operator]'] = 50;
-					params['template'] = 'icinga-host-template';
+					params['template'] = 'icinga-service-template';
 				break;
 				
 				case 'service':
@@ -300,7 +300,7 @@ Cronk.util.SearchHandler =  function(c) {
 			
 			Cronk.util.InterGridUtil.gridFilterLink(cronk, filter);
 			
-			oWindow().hide();
+		//	oWindow().hide();
 			oTextField.setValue('');
 			
 			return true;





More information about the icinga-checkins mailing list