public_html/layouts/basic/modules/Settings/ApiAddress/resources/ApiAddress.js
Function registerConfigModal
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
registerConfigModal(container) {
container.find('.js-show-config-modal').on('click', (e) => {
const providerName = e.currentTarget.dataset.provider;
app.showModalWindow({
Function registerSave
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
registerSave: function (container) {
container.validationEngine(app.validationEngineOptions);
container.find('.saveGlobal').on('click', (e) => {
if (!container.validationEngine('validate')) {
app.formAlignmentAfterValidation(container);