Module: check_mk
Branch: master
Commit: eb38ae17df131dbbe67e30664545a41afdf8b594
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eb38ae17df131d…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue May 24 15:26:58 2011 +0200
WATO: sort host-move combos alphabetically
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 1cb4687..17bc7f8 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -1876,7 +1876,7 @@ def host_move_combo(host = None):
else:
html.hidden_field("host", host)
uri = html.makeuri([("host", host), ("_transid",
html.current_transid() )])
- html.select(None, selections, "",
+ html.sorted_select(None, selections, "",
"location.href='%s' + '&_move_host_to=' +
this.value;" % uri);