mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[IMP] runbot: open frontend_url in a new tab
This commit is contained in:
parent
430a526b5c
commit
ffe12182ab
@ -54,7 +54,7 @@ var FrontendUrl = relational_fields.FieldMany2One.extend({
|
||||
this._super.apply(this, arguments);
|
||||
var link = ''
|
||||
if (this.route) {
|
||||
link = ' <a href="'+this.route+'" ><i class="external_link fa fa-fw o_button_icon fa-external-link "/></a>'
|
||||
link = ' <a href="'+this.route+'" target="_blank"><i class="external_link fa fa-fw o_button_icon fa-external-link "/></a>'
|
||||
}
|
||||
this.$el.html('<span>' + this.$el.html() + link + '<span>')
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user