HEX
Server: Apache
System: Linux webd006.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: zwafgyp (177615)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/zwafgyp/lacalita/wp-content/plugins/woo-poly-integration/public/js/Variables.min.js
!function(i,t,e){function n(t,i,e){this.$=t,this.document=i,this.data=e,this._dialog=this._createDialog()}n.prototype={constructor:n,init:function(){var t=this;i("#post_lang_choice").on("change",function(){t.shouldAlert()}),i("#product-type").on("change",function(){t.shouldAlert()})},shouldAlert:function(){var t=this.getCurrentProduct(),i=this.getCurrentLanguage();return"variable"===t&&i!==this.data.defaultLang?(this._dialog.dialog("open"),this._changeSaveBoxState(!0),!0):(this._changeSaveBoxState(!1),!1)},getCurrentLanguage:function(){return this.$("#post_lang_choice").val()},getCurrentProduct:function(){return this.$("#product-type").val()},_changeSaveBoxState:function(t){this.$("#submitdiv *").prop("disabled",t)},_createDialog:function(){this.$("<style>.ui-dialog { z-index: 1000 !important ;}</style>").appendTo(i("head"));var t=this.$("<div id='woo-poly-variables-dialog'/>").html("<p>"+this.data.content+"</p>").attr("title",this.data.title).appendTo("body");return t.dialog({dialogClass:"wp-dialog",autoOpen:!1,modal:!0,width:400,height:250,position:{my:"center",at:"center"},buttons:[{text:"Got It",click:function(){i(this).dialog("close")}}]}),t}},i(function(){new n(i,t,e).init()})}(jQuery,document,HYYAN_WPI_VARIABLES);