As designed "Log Out" link in Account Dropdown doesn't respond with an overlay.

Vincent

Well-known member
The "Log Out" link in the dropdown menu when you click your name in the navigation doesn't respond with an "Are you sure?" overlay.

I can see why this is not implemented but it happened twice today that I wanted to click "Show online status" and accidentally clicked the Log Out button :P

Is it possible to implement it here?

In navigation_visitor_tab
Code:
<li><a href="{xen:link logout, '', '_xfToken={$visitor.csrf_token_page}'}" class="LogOut">{xen:phrase log_out}</a></li>

to

Code:
<li><a href="{xen:link logout}" class="LogOut OverlayTrigger">{xen:phrase log_out}</a></li>
 
The confirmation dialog is omitted intentionally, as the main log-out link is easily pressed accidentally during normal (mobile) browsing, but I think the one in the Visitor menu is sufficiently out-of-the-way to remain 'unprotected'.
 
The confirmation dialog is omitted intentionally, as the main log-out link is easily pressed accidentally during normal (mobile) browsing, but I think the one in the Visitor menu is sufficiently out-of-the-way to remain 'unprotected'.

Okay :D
Thought so, was just checking :)
 
Top Bottom