Module: check_mk
Branch: master
Commit: 8780b8b598c54174ebbc9af17d2e33af676175b2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8780b8b598c541…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jun 20 20:34:46 2011 +0200
Dashboard: fixed positioning bug
---
web/htdocs/dashboard.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/dashboard.py b/web/htdocs/dashboard.py
index 630c794..6284a27 100644
--- a/web/htdocs/dashboard.py
+++ b/web/htdocs/dashboard.py
@@ -167,7 +167,7 @@ def ajax_resize():
n = []
for i in [0, 1]:
if self._data[i] < 0:
- n.append(size[i] - self._data[i] - 1)
+ n.append(size[i] + self._data[i] + 1) # Here was a bug fixed by
Markus Lengler
else:
n.append(self._data[i] - 1) # make begin from 0
return vec(n)