[IMP] anonymous login target current
bzr revid: al@openerp.com-20121205231137-rbpmh3qq79k0s15p
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user