Module: check_mk
Branch: master
Commit: 633f574160c8881434ad2a98a1c17ffa034629da
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=633f574160c888…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jan 11 14:38:19 2017 +0100
Fixed wrong quoting in HTML attribute
Change-Id: I11ec853806ebc3ae084855aba371da972bd70ac7
---
web/htdocs/htmllib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/htmllib.py b/web/htdocs/htmllib.py
index cf7f980..35a019a 100644
--- a/web/htdocs/htmllib.py
+++ b/web/htdocs/htmllib.py
@@ -1899,7 +1899,7 @@ class html(DeprecationWrapper):
id_ = "ti_%s" % varname
onkeydown = None if not submit else\
- HTML('function(e) { if (!e) e = window.event;
textinput_enter_submit(e, "%s"); };' % submit)
+ HTML('function(e) { if (!e) e = window.event;
textinput_enter_submit(e, \'%s\'); };' % submit)
# TODO: REPLACE?
# if submit is not None:
# self.final_javascript('document.getElementById("%s").onkeydown
= '