Module: check_mk
Branch: master
Commit: fe606134b7ea3f07aa44e61036162b3259b3bd6d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fe606134b7ea3f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 6 15:27:27 2018 +0100
Fixed simple modes issue: Sorting a table triggered delete action
Change-Id: Icd8776d6e5ad6835eff89a7fcfda8a3300e83efc
---
cmk/gui/plugins/wato/utils/simple_modes.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cmk/gui/plugins/wato/utils/simple_modes.py
b/cmk/gui/plugins/wato/utils/simple_modes.py
index c59d623..c27c087 100644
--- a/cmk/gui/plugins/wato/utils/simple_modes.py
+++ b/cmk/gui/plugins/wato/utils/simple_modes.py
@@ -174,6 +174,9 @@ class SimpleListMode(SimpleWatoModeBase):
if not html.transaction_valid():
return
+ if not html.has_var("_delete"):
+ return
+
confirm = wato_confirm(_("Confirm deletion"),
self._delete_confirm_message())
if confirm is False:
return False