[icinga-checkins] icinga.org: icinga-core/master: Reactivated the images for dropdown, there has been a hotfix for the Chrome addon.

git at icinga.org git at icinga.org
Thu Sep 2 12:47:33 CEST 2010


Module: icinga-core
Branch: master
Commit: 8c53d47a6fbf73023d87b9ebcf64f9c87197babe
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=8c53d47a6fbf73023d87b9ebcf64f9c87197babe

Author: Rune Darrud <theflyingcorpse at gmail.com>
Date:   Sun Aug 22 19:52:23 2010 +0200

Reactivated the images for dropdown, there has been a hotfix for the Chrome addon.

---

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

diff --git a/cgi/status.c b/cgi/status.c
index ce93679..3e3a6be 100644
--- a/cgi/status.c
+++ b/cgi/status.c
@@ -622,7 +622,7 @@ void document_header(int use_stylesheet){
         printf("<input type=hidden name=hiddenforcefield><input type=hidden name=hiddencmdfield><input type=hidden name=buttonValidChoice><input type=hidden name=buttonCheckboxChecked>");
 
         /* Print out the activator for the dropdown (which must be between the body tags */
-        /* printf("<script language='javascript'>");
+        printf("<script language='javascript'>");
         printf("$(document).ready(function(e) {");
         printf("try {");
         printf("$('body select').msDropDown();");
@@ -631,7 +631,7 @@ void document_header(int use_stylesheet){
         printf("}");
         printf("});");
         printf("</script>\n");
-	*/
+
 	/* include user SSI header */
 	include_ssi_files(STATUS_CGI,SSI_HEADER);
 





More information about the icinga-checkins mailing list