@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
var
/
www
/
html
/
wp-content
/
themes
/
wpresidence
/
js
/
Path :
Upload File :
New :
File
Dir
/var/www/html/wp-content/themes/wpresidence/js/config-property.min.js
jQuery(document).ready(function(d){var b,c,a,g,f,e;b=null;c=null;a=null;g=null;d(".deletefieldlink").on("click",function(h){h.preventDefault();f=d(this).parent();f.remove()});e="short text";d("#field_type").on("change",function(){e=this.value});d("#add_curency").on("click",function(l){l.preventDefault();var i,k,j,m,h;i="";k=d("#currency_name").val();h=d("#currency_label").val();j=d("#currency_value").val();m=d("#where_cur").val();i="<div class=field_row>";i+='<div class=field_item><strong>Currency Name</strong></br> <input type="text" name="add_curr_name[]" value="'+k+'" ></div>';i+='<div class=field_item><strong>Currency Label</strong></br><input type="text" name="add_curr_label[]" value="'+h+'" ></div>';i+='<div class=field_item><strong>Currency Value</strong></br><input type="text" name="add_curr_value[]" value="'+j+'" ></div>';i+='<div class=field_item><strong>Currency Order</strong></br><input type="text" name="add_curr_order[]" value="'+m+'" ></div>';i+='<a class="deletefieldlink" href="#">delete</a>';i+="</div>";d("#custom_fields").append(i);d("#currency_name").val("");d("#currency_label").val("");d("#where_cur").val("");d("#where_cur").val("")});d("#add_field").on("click",function(k){k.preventDefault();var i,j,h,m,l;i="";j=d("#field_name").val();h=d("#field_label").val();m=parseInt(d("#field_order").val(),10);l=d("#drodown_values").val();i="<div class=field_row>";i+='<div class=field_item><strong>Field Name</strong></br><input type="text" name="add_field_name[]" value="'+j+'" ></div>';i+='<div class=field_item><strong>Field Label</strong></br><input type="text" name="add_field_label[]" value="'+h+'" ></div>';i+='<div class=field_item><strong>Field Type</strong></br><input type="text" name="add_field_type[]" value="'+e+'" ></div>';i+='<div class=field_item><strong>Field Order</strong></br><input type="text" name="add_field_order[]" value="'+m+'"></div>';i+='<div class=field_item><strong>Dropdwn Values</strong></br><textarea name="add_dropdown_order[]" >'+l+"</textarea></div>";i+='<a class="deletefieldlink" href="#">delete</a>';i+="</div>";d("#custom_fields_wrapper").append(i);d("#field_name").val("");d("#field_label").val("");d("#field_order").val("");d("#drodown_values").val("")});d("#new_feature, #new_status").focus(function(){d(this).val("")});d("#add_feature").on("click",function(i){i.preventDefault();var h=d("#new_feature").val();if(h!==""){var j=d("#feature_list").val();if(j===""){j=h}else{j=j+",\n"+h}d("#feature_list").val(j);d("#new_feature").val("")}});d("#add_status").on("click",function(i){var h=d("#new_status").val();if(h!==""){var j=d("#status_list").val();if(g===""){g=h}else{g=j+",\n"+h}d("#status_list").val(g);d("#new_status").val("")}})});