PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /home/ngamzghe/moltrazi.com/wp-content__e01594c/plugins/wp-fastest-cache/js/ |
| Server: Linux server1.ngambekcore.com 4.18.0-553.51.1.el8_10.x86_64 #1 SMP Wed Apr 30 04:00:07 EDT 2025 x86_64 IP: 159.198.77.92 |
| Dir : /home/ngamzghe/moltrazi.com/wp-content__e01594c/plugins/wp-fastest-cache/js/dialog.js |
var Wpfc_Dialog = {
id : "",
buttons: [],
dialog: function(id, buttons){
var self = this;
self.id = id;
self.buttons = buttons;
jQuery("#" + id).show();
jQuery("#" + id).draggable({
stop: function(){
jQuery(this).height("auto");
}
});
jQuery("#" + id).position({my: "center", at: "center", of: window});
jQuery(".close-wiz").click(function(e){
jQuery(e.target).closest("div[id^='wpfc-modal-']").remove();
});
self.show_buttons();
},
remove: function(clone_modal_id){
if(typeof clone_modal_id != "undefined"){
jQuery("#" + clone_modal_id).remove();
}else{
var self = this;
jQuery("#" + self.id).remove();
}
},
show_buttons: function(){
var self = this;
if(typeof self.buttons != "undefined"){
jQuery.each(self.buttons, function( index, value ) {
jQuery("#" + self.id + " button[action='" + index + "']").show();
jQuery("#" + self.id + " button[action='" + index + "']").click(function(e){
if(index == "close"){
jQuery(e.target).closest("div[id^='wpfc-modal-']").remove();
}else{
value();
}
});
});
}
}
};