[icinga-checkins] icinga.org: icinga-core/next: classic ui: fix context help on mouseover in cmd.cgi (thx Marc-Christian Petersen)

git at icinga.org git at icinga.org
Mon Nov 4 22:49:33 CET 2013


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

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Tue Oct 29 23:10:57 2013 +0100

classic ui: fix context help on mouseover in cmd.cgi (thx Marc-Christian Petersen)

fixes #4971

---

 Changelog |    3 +++
 cgi/cmd.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Changelog b/Changelog
index 50a34fe..85f9cd6 100644
--- a/Changelog
+++ b/Changelog
@@ -15,9 +15,12 @@ UPGRADE NOTES
 
 1.10.1 - XX/YY/2013
 
+FIXES
 * core/idoutils: revert check_source attribute due to mod_gearman manipulating in-memory checkresult list #4958 - MF
 	** classic ui/idoutils schema: functionality is kept only for Icinga 2 support
 
+* classic ui: fix context help on mouseover in cmd.cgi (thx Marc-Christian Petersen) #4971 - MF
+
 * idoutils: fix pgsql update script #4953
 * idoutils: fix logentry_type being integer, not unsigned long #4953
 
diff --git a/cgi/cmd.c b/cgi/cmd.c
index d3944d8..5ce5c03 100644
--- a/cgi/cmd.c
+++ b/cgi/cmd.c
@@ -944,7 +944,7 @@ void print_object_list(int list_type) {
 
 void print_help_box(char *content) {
 
-	printf("<img src='%s%s' onMouseOver=\"return tooltip('<table border='0' width='100%%' height='100%%'>", url_images_path, CONTEXT_HELP_ICON);
+	printf("<img src='%s%s' onMouseOver=\"return tooltip('<table border=0 width=100%% height=100%%>", url_images_path, CONTEXT_HELP_ICON);
 	printf("<tr><td>%s</td></tr>", content);
 	printf("</table>', '   Help', 'border:1, width:500, xoffset:-250, yoffset:25, bordercolor:#333399, title_padding:2px, titletextcolor:#FFFFFF, backcolor:#CCCCFF');\" onMouseOut=\"return hideTip()\"");
 	printf(" border='0'>");





More information about the icinga-checkins mailing list