[icinga-checkins] icinga.org: icinga-core/r1.2: fix expand_icon_url in collapse the display filter on status.cgi

git at icinga.org git at icinga.org
Tue Nov 9 16:50:56 CET 2010


Module: icinga-core
Branch: r1.2
Commit: dcfbf7c2024750df8ffc58619fbb8869571cf2a8
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=dcfbf7c2024750df8ffc58619fbb8869571cf2a8

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Nov  9 14:00:15 2010 +0100

fix expand_icon_url in collapse the display filter on status.cgi

refs #923

---

 cgi/status.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cgi/status.c b/cgi/status.c
index c72cb30..8b08663 100644
--- a/cgi/status.c
+++ b/cgi/status.c
@@ -5151,7 +5151,7 @@ void show_filters(void){
 
 		printf("<table border=1 class='filter' cellspacing=0 cellpadding=0>\n");
 		printf("<tr><td valign=top align=left CLASS='filterTitle'>Display Filters: ");
-		printf("<img id='expand_image' src='/icinga/images/icon_expand.gif' border=0 onClick=\"if (document.getElementById('filters').style.display == 'none') { document.getElementById('filters').style.display = ''; document.getElementById('expand_image').src = '%s%s'; } else { document.getElementById('filters').style.display = 'none'; document.getElementById('expand_image').src = '%s%s'; }\">",url_images_path,COLLAPSE_ICON,url_images_path,EXPAND_ICON);
+		printf("<img id='expand_image' src='%s%s' border=0 onClick=\"if (document.getElementById('filters').style.display == 'none') { document.getElementById('filters').style.display = ''; document.getElementById('expand_image').src = '%s%s'; } else { document.getElementById('filters').style.display = 'none'; document.getElementById('expand_image').src = '%s%s'; }\">",url_images_path,EXPAND_ICON,url_images_path,COLLAPSE_ICON,url_images_path,EXPAND_ICON);
 		printf("</td></tr>");
 		printf("<tr><td><table id='filters' border=0 cellspacing=2 cellpadding=0 style='display:none;'>\n");
 		printf("<tr><td valign=top align=left CLASS='filterName'>Host Status Types:</td>");





More information about the icinga-checkins mailing list