[IMP] anonymous login target current

bzr revid: al@openerp.com-20121205231137-rbpmh3qq79k0s15p
This commit is contained in:
Antony Lesuisse
2012-12-06 00:11:37 +01:00
parent 84aa05b4cc
commit 9a0c4b115d
2 changed files with 1 additions and 2 deletions
@@ -33,7 +33,7 @@ openerp.auth_anonymous = function(instance) {
am.do_action({
type:'ir.actions.client',
tag:'login',
target: 'new',
target: 'current',
params: {
login_successful: function() {
am.do_action("reload");
@@ -6,7 +6,6 @@
<t t-name="UserMenu.auth_anonymous">
<div>
<a href="#" class="oe_user_menu oe_topbar_item oe_topbar_anonymous_login">
<img class="oe_topbar_avatar" t-att-src="_s + '/web/static/src/img/icons/gtk-dialog-authentication.png'"/>
Login
</a>
</div>