Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:modifications:relatedlists-in-new-window [2015/03/12 14:08] swarnat |
en:modifications:relatedlists-in-new-window [2016/11/28 15:31] (current) swarnat |
||
---|---|---|---|
Line 7: | Line 7: | ||
==== File: layouts/vlayout/modules/Vtiger/resources/Detail.js ==== | ==== File: layouts/vlayout/modules/Vtiger/resources/Detail.js ==== | ||
- | **Search: (the one in the function registerEventForRelatedTabClick)** | + | **Search: [~Line 1563] ** |
+ | (ONLY the one in the function registerEventForRelatedTabClick !) | ||
<code js> | <code js> | ||
var element = jQuery('<div></div>'); | var element = jQuery('<div></div>'); | ||
Line 20: | Line 22: | ||
**Remove this lines** | **Remove this lines** | ||
+ | **(ONLY the one in the function registerEventForRelatedTabClick !)** | ||
**Search:** | **Search:** | ||
Line 47: | Line 50: | ||
+ | **Search:** | ||
+ | <code javascript> | ||
+ | jQuery('.related', detailContainer).on('click', 'li', function(e, urlAttributes){ | ||
+ | </code> | ||
+ | **Replace with:** | ||
+ | <code javascript> | ||
+ | jQuery('.related', detailContainer).on('mousedown', 'li', function(e, urlAttributes){ | ||
+ | </code> |