| Server IP : 89.108.64.180 / Your IP : 216.73.217.92 Web Server : Apache/2.4.41 (Ubuntu) System : Linux 89-108-64-180.cloudvps.regruhosting.ru 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : www-root ( 1010) PHP Version : 8.0.30 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/www-root/data/www/fl-brief.agast.ru/wp-content/plugins/quform/admin/js/ |
Upload File : |
var quform=function(i,e,n,t){"use strict";var o=i.core,s=o.cache,c=e(document),f=!1,r={init:function(){s.get("#qfb-entry-show-empty-fields").click(function(){e(this).is(":checked")?Cookies.set("qfb-show-empty-fields","1",{expires:3650}):Cookies.remove("qfb-show-empty-fields"),window.location.reload()}),s.get("#qfb-show-resend-notifications").click(function(){s.get("#qfb-resend-notifications").show()}),s.get("#qfb-resend-notifications").find(".qfb-popup-close-button, .qfb-popup-overlay").click(r.closeResendNotificationsPopup),s.get("#qfb-resend-notifications-button").click(function(){r.validateResendNotifications()&&r.resendNotifications()}),s.get("#qfb-resend-notifications-identifier-select-all").click(function(){s.get(".qfb-resend-notifications-identifier").prop("checked",this.checked)}),s.get(".qfb-resend-notifications-identifier").click(function(){s.get("#qfb-resend-notifications-identifier-select-all").prop("checked",!1)}),c.on("heartbeat-tick",function(i,e){e&&e.nonces_expired&&e.quformResendNotificationsNonce&&n.resendNotificationsNonce!==e.quformResendNotificationsNonce&&(n.resendNotificationsNonce=e.quformResendNotificationsNonce)})},closeResendNotificationsPopup:function(){s.get("#qfb-resend-notifications").hide(),r.clearValidationMessages()},getSelectedNotificationIdentifiers:function(){var i=[];return s.get(".qfb-resend-notifications-identifier").each(function(){e(this).is(":checked")&&i.push(e(this).val())}),i},clearValidationMessages:function(){s.get("#qfb-resend-notifications").find(".qfb-submission-error, .qfb-submission-success, .qfb-validation-error").remove()},validateResendNotifications:function(){var i;return r.clearValidationMessages(),0!==r.getSelectedNotificationIdentifiers().length||(i=s.get("#qfb-resend-notifications-identifiers"),o.addValidationError(i,t.thisFieldIsRequired),o.scrollTo(i,s.get("#qfb-resend-notifications-inner")),!1)},resendNotifications:function(){f||(f=!0,s.get("#qfb-resend-notifications-loading").css({opacity:1}),e.ajax({type:"POST",url:t.ajaxUrl,data:{action:"quform_resend_notifications",_ajax_nonce:n.resendNotificationsNonce,data:JSON.stringify({eid:s.get("#qfb-resend-notifications").data("eid"),identifiers:r.getSelectedNotificationIdentifiers()})},dataType:"json"}).done(function(i){var n;"success"===(i=o.sanitizeResponse(i)).type?o.addSubmissionSuccess(s.get("#qfb-resend-notifications").find(".qfb-settings"),i.message):(n=[],i.message&&n.push(o.addSubmissionError(s.get("#qfb-resend-notifications").find(".qfb-settings"),i.message)),i.errors&&e.each(i.errors,function(i,e){i=s.get("#"+i);o.addValidationError(i,e),n.push(i)}),n.length&&o.scrollTo(n[0],s.get("#qfb-resend-notifications-inner")))}).fail(function(){o.scrollTo(o.addSubmissionError(s.get("#qfb-resend-notifications").find(".qfb-settings"),t.ajaxError),s.get("#qfb-resend-notifications-inner"))}).always(function(){f=!1,s.get("#qfb-resend-notifications-loading").css({opacity:0})}))}};return e(r.init),i.entries=i.entries||{},i.entries.view=r,i}(quform,jQuery,quformEntriesViewL10n,quformCoreL10n);