![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/app/bundles/CoreBundle/Assets/js/ |
Mautic.downloadIpLookupDataStore = function() { var ipService = mQuery('#config_coreconfig_ip_lookup_service').val(); var ipAuth = mQuery('#config_coreconfig_ip_lookup_auth').val(); mQuery('#iplookup_fetch_button_container .fa-spinner').removeClass('hide'); Mautic.ajaxActionRequest('downloadIpLookupDataStore', { service: ipService, auth: ipAuth }, function (response) { mQuery('#iplookup_fetch_button_container .fa-spinner').addClass('hide'); if (response.message) { mQuery('#iplookup_fetch_button_container').parent().removeClass('has-error').addClass('has-success'); mQuery('#iplookup_fetch_button_container').next('.help-block').html(response.message); } else if (response.error) { mQuery('#iplookup_fetch_button_container').parent().removeClass('has-success').addClass('has-error'); mQuery('#iplookup_fetch_button_container').next('.help-block').html(response.error); } }, false, false, 'GET'); }; Mautic.getIpLookupFormConfig = function() { var ipService = mQuery('#config_coreconfig_ip_lookup_service').val(); Mautic.activateLabelLoadingIndicator('config_coreconfig_ip_lookup_service'); Mautic.ajaxActionRequest('getIpLookupForm', { service: ipService }, function (response) { Mautic.removeLabelLoadingIndicator(); mQuery('#ip_lookup_config_container').html(response.html); mQuery('#ip_lookup_attribution').html(response.attribution); }, false, false, "GET"); };