diff options
| author | Denis Ledoux <dle@openerp.com> | 2014-01-06 15:18:46 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@openerp.com> | 2014-01-06 15:18:46 +0100 |
| commit | 7df936a4ce4d3cf5a3e0c59107bcb5bebef3b4cb (patch) | |
| tree | 3f07b3c024bbc0d4cdf07ed5207d1f510c7c7cbf /addons | |
| parent | 68de7282142c5394bb3ff6f62fe4b04c924ffc74 (diff) | |
[FIX] im: open url in another tab/window
bzr revid: dle@openerp.com-20140106141846-ezkxpgprn15nkp8a
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/im/static/src/js/im_common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/im/static/src/js/im_common.js b/addons/im/static/src/js/im_common.js index dcc89e87c8a..e3b87139d36 100644 --- a/addons/im/static/src/js/im_common.js +++ b/addons/im/static/src/js/im_common.js @@ -521,7 +521,7 @@ function declare($, _, openerp) { txt += _.escape(str.slice(last, result.index)); last = url_regex.lastIndex; var url = _.escape(result[0]); - txt += '<a href="' + url + '">' + url + '</a>'; + txt += '<a href="' + url + '" target="_blank">' + url + '</a>'; } txt += _.escape(str.slice(last, str.length)); return txt; |
