YetiForceCompany/YetiForceCRM

View on GitHub
public_html/layouts/basic/modules/SRequirementsCards/resources/Edit.min.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

/* {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} */"use strict";Vtiger_Edit_Js("SRequirementsCards_Edit_Js",{},{getRecordsListParams:function getRecordsListParams(container){var params=this._super(container),potential=this.getForm().find("input[name=\"salesprocessid\"]");// Limit the choice of products/services only to the ones related to currently selected Opportunity - first step.
return -1!=jQuery.inArray(params.module,["Products","Services"])&&potential.length&&(params.salesprocessid=potential.val()),params}});
//# sourceMappingURL=Edit.min.js.map