HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //home/govancoz/www/wp-content/plugins/elementskit-lite/modules/controls/assets/js/ajaxchoose.js
jQuery(window).on("elementor:init",(function(){"use strict";var e=elementor.modules.controls.BaseData.extend({onReady:function(){var e=this,t=e.ui.select,a=t.attr("data-ajax-url"),n=window.wpApiSettings.nonce;t.select2({ajax:{url:a,dataType:"json",headers:{"X-WP-Nonce":n},data:function(e){return{s:e.term}}},cache:!0});var r=void 0!==e.getControlValue()?e.getControlValue():"";r.isArray&&(r=e.getControlValue().join()),jQuery.ajax({url:a,dataType:"json",headers:{"X-WP-Nonce":n},data:{ids:String(r)}}).then((function(e){null!==e&&e.results.length>0&&(jQuery.each(e.results,(function(e,a){var n=new Option(a.text,a.id,!0,!0);t.append(n).trigger("change")})),t.trigger({type:"select2:select",params:{data:e}}))}))},onBeforeDestroy:function(){this.ui.select.data("select2")&&this.ui.select.select2("destroy"),this.el.remove()}});elementor.addControlView("ajaxselect2",e)}));