projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36cf33c
)
core#1398: Option to open navigation item in new window (if present)
author
Monish Deb
<deb.monish@gmail.com>
Fri, 15 Nov 2019 14:18:14 +0000
(19:48 +0530)
committer
Monish Deb
<deb.monish@gmail.com>
Mon, 25 Nov 2019 12:26:13 +0000
(17:56 +0530)
js/crm.menubar.js
patch
|
blob
|
blame
|
history
diff --git
a/js/crm.menubar.js
b/js/crm.menubar.js
index 152a6e376e185de20a3318e0aee980a8c3aff961..9fa49f63d69a5fc0d23f4bdf21f3c9ea74eec42f 100644
(file)
--- a/
js/crm.menubar.js
+++ b/
js/crm.menubar.js
@@
-471,7
+471,7
@@
}
function attr(el, item) {
- var ret = [], attr = _.cloneDeep(item.attr || {}), a = ['rel', 'accesskey'];
+ var ret = [], attr = _.cloneDeep(item.attr || {}), a = ['rel', 'accesskey'
, 'target'
];
if (el === 'a') {
attr = _.pick(attr, a);
attr.href = item.url || "#";