Module: check_mk
Branch: master
Commit: 26e1086705b521fef4f1d3edf04bb7a10bfdc41d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=26e1086705b521…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Nov 6 14:23:57 2014 +0100
#1492 FIX Fixed too long URL bug when deleting a timeperiod right after creating one
---
.werks/1492 | 10 ++++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/1492 b/.werks/1492
new file mode 100644
index 0000000..47db6bf
--- /dev/null
+++ b/.werks/1492
@@ -0,0 +1,10 @@
+Title: Fixed too long URL bug when deleting a timeperiod right after creating one
+Level: 1
+Component: wato
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.5i7
+Date: 1415280213
+
+
diff --git a/ChangeLog b/ChangeLog
index ed86bc6..e60f40c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,6 +39,7 @@
* 1165 FIX: Fixed exception in service discovery of logwatch event console forwarding
checks...
* 1490 FIX: Timperiod excludes can now even be configured when creating a
timeperiod...
* 1491 FIX: Fixed bug in dynamic lists where removing an item was not always
possible...
+ * 1492 FIX: Fixed too long URL bug when deleting a timeperiod right after creating
one
Notifications:
* 1168 FIX: HTML mails can now be configured to display graphs among each other...
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 103a006..8dea064 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -9182,7 +9182,7 @@ def mode_timeperiods(phase):
timeperiod = timeperiods[name]
edit_url = make_link([("mode", "edit_timeperiod"),
("edit", name)])
- delete_url = html.makeactionuri([("_delete", name)])
+ delete_url = make_action_link([("mode", "timeperiods"),
("_delete", name)])
table.cell(_("Actions"), css="buttons")
html.icon_button(edit_url, _("Properties"), "edit")