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