summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/php/controls/HeaderMenu.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/php/controls/HeaderMenu.tpl b/app/php/controls/HeaderMenu.tpl
index 9b32a15..a7e666d 100644
--- a/app/php/controls/HeaderMenu.tpl
+++ b/app/php/controls/HeaderMenu.tpl
@@ -14,6 +14,8 @@
<com:TActiveLinkButton OnCommand="logoutUser">
<prop:Text>Logout (<%= $this->User->Name %>)</prop:Text>
<prop:Visible><%= !$this->User->IsGuest %></prop:Visible>
+ <prop:ClientSide.OnFailure>window.location.reload()</prop:ClientSide.OnFailure>
+ <prop:ClientSide.OnException>window.location.reload()</prop:ClientSide.OnException>
</com:TActiveLinkButton>
<com:THyperLink Text="New user">
<prop:NavigateUrl><%= $this->Service->constructUrl('Signup') %></prop:NavigateUrl>