Module: check_mk
Branch: master
Commit: 559f8025f25831865bc1bb77bfd8975983b53493
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=559f8025f25831…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Fri Nov 15 16:14:15 2013 +0100
FIX Fixed problem with portnumber in Wato Distributed Monitoring dialog
---
.werks/95 | 8 ++++++++
ChangeLog | 1 +
web/htdocs/valuespec.py | 2 +-
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/.werks/95 b/.werks/95
new file mode 100644
index 0000000..43a94e0
--- /dev/null
+++ b/.werks/95
@@ -0,0 +1,8 @@
+Title: Fixed problem with portnumber in Wato Distributed Monitoring dialog
+Level: 1
+Component: wato
+Version: 1.2.3i7
+Date: 1384528369
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index cb576f5..2003325 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,7 @@
* 0205 FIX: Allowing star chars in variable names to fix role/permission editing...
* 0207 FIX: Explicit communities were not written to config files in all cases
* 0094 FIX: Hidding snmpv3 credentials in wato...
+ * 0095 FIX: Fixed problem with portnumber in Wato Distributed Monitoring dialog
Notifications:
* 0032 FIX: mail notification plugin: replace windows forbidden characters in mail
images
diff --git a/web/htdocs/valuespec.py b/web/htdocs/valuespec.py
index 0ba8c5c..251df0b 100644
--- a/web/htdocs/valuespec.py
+++ b/web/htdocs/valuespec.py
@@ -239,7 +239,7 @@ class Integer(ValueSpec):
style = "text-align: right;"
else:
style = ""
- html.number_input(varprefix, self._display_format % value, size = self._size,
style = style)
+ html.number_input(varprefix, self._display_format % saveint(value), size =
self._size, style = style)
if self._unit:
html.write(" ")
html.write(self._unit)