Module: check_mk
Branch: master
Commit: 12caa89e75d3e5eca8d4ef61a3f82898ec4f9cc2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=12caa89e75d3e5…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 4 19:36:40 2014 +0100
#1678 FIX Fixed problem with garbled styles on user profile page after saving
---
.werks/1678 | 9 +++++++++
ChangeLog | 1 +
web/htdocs/wato.py | 3 +--
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/.werks/1678 b/.werks/1678
new file mode 100644
index 0000000..235f7e3
--- /dev/null
+++ b/.werks/1678
@@ -0,0 +1,9 @@
+Title: Fixed problem with garbled styles on user profile page after saving
+Level: 1
+Component: multisite
+Compatible: compat
+Version: 1.2.5i7
+Date: 1417718173
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 1655bc4..9b71cda 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -164,6 +164,7 @@
* 1641 FIX: Quicksearch: Now able to search for services with backslashes in names
* 1642 FIX: Quicksearch: Improved error handling on invalid search statements
(invalid regexes)
* 1651 FIX: Consolidated painters of service list views...
+ * 1678 FIX: Fixed problem with garbled styles on user profile page after saving
WATO:
* 1170 Added buttons to move rules to top/bottom of the list to ruleset edit dialog
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 9e2cf6f..bbd4674 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -15721,8 +15721,6 @@ def page_user_profile(change_pw=False):
userdb.save_users(users)
success = True
-
- html.reload_sidebar()
except MKUserError, e:
html.add_user_error(e.varname, e.message)
@@ -15757,6 +15755,7 @@ def page_user_profile(change_pw=False):
html.write('<p>%s</p>' % _('You are required to
change your password before proceeding.'))
if success:
+ html.reload_sidebar()
if change_pw:
html.message(_("Your password has been changed."))
html.http_redirect(html.var('_origtarget', 'index.py'))