HEX
Server: LiteSpeed
System: Linux pulsar191.sitesanctuary.org 5.14.0-284.30.1.el9.tuxcare.els9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 10 17:34:05 UTC 2025 x86_64
User: lgooir (1604)
PHP: 8.1.32
Disabled: exec,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,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/lgooir/.trash/rising-bamboo/dist/js/admin/components/widget-condition.js
!function(n){"use strict";n(document).ready((function(){n(".widget-liquid-right form").each((function(){var t=n(this);n(document.body).trigger("rbb-widget-control-depend-change",[t])}))})),n(document).on("change",".rbb-widget-control__has_depend",(function(){var t=n(this).closest("form");n(document.body).trigger("rbb-widget-control-depend-change",[t])})),n(document).on("widget-added widget-updated",(function(t,e){var o=e.find("form");n(document.body).trigger("rbb-widget-control-depend-change",[o])})),n(document.body).on("rbb-widget-control-depend-change",(function(t,e){e.find(".has-condition").each((function(){var t=n(this),o=t.data("condition"),d=!0;for(var i in o){var r="=",c=o[i];i.endsWith("!")&&(r="!",i=i.slice(0,-1));var a=e.find(".rbb-widget-control-"+i).val();if("="===r?c instanceof Array?c.includes(a)||(d=!1):a.toString()!==c.toString()&&(d=!1):c instanceof Array?c.includes(a)&&(d=!1):a.toString()===c.toString()&&(d=!1),!d)return void t.hide()}d&&t.show()}))}))}(jQuery);