YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/modules/Campaigns/resources/Detail.js

Summary

Maintainability
A
1 hr
Test Coverage

Function registerEventForRelatedTabClick has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        registerEventForRelatedTabClick: function () {
            var thisInstance = this;
            var detailContentsHolder = thisInstance.getContentHolder();
            var detailContainer = detailContentsHolder.closest('div.detailViewInfo');
            jQuery('.related', detailContainer).on('click', 'li:not(.spaceRelatedList)', function (e, urlAttributes) {
Severity: Minor
Found in public_html/layouts/basic/modules/Campaigns/resources/Detail.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status