PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
acf-frontend-form-element
/
assets
/
js
!function(e){var a=e('<div class="dynamic-values"></div>');e.each(acffdv,(function(t,n){var i=e('<div class="group-options"><span class="group-name">'+n.label+"</span></div>");e(i).appendTo(a);var o=e('<select class="dynamic-value-select"><option value="" selected><span class="field-name">-- Select One --</span></option></select>');e.each(n.options,(function(a,t){var n=e('<option class="field-option '+a+'-option" value="['+a+']"><span class="field-name">'+t+"</span></option>");e(n).appendTo(o)})),e(o).appendTo(i)})),e(document).ready((function(){var t;e(document).on("click",(function(a){""!=a.target.id&&""!=e(a.target).parents(".acf-field").id&&e(".dynamic-values").remove()})),e(document).on("change",".dynamic-values select",(function(a){a.stopPropagation();var n=e(this),i=n.val(),o=n.parents(".acf-field").first().find(".wp-editor-area");o.length>0?(tinymce.editors[o.attr("id")].editorCommands.execCommand("mceInsertContent",!1,i),e(".dynamic-values").remove(),t=!1):function(e,a){var t=e;if(t){var n=t.scrollTop,i=0,o=t.selectionStart||"0"==t.selectionStart?"ff":!!document.selection&&"ie";if("ie"==o){t.focus();var l=document.selection.createRange();l.moveStart("character",-t.value.length),i=l.text.length}else"ff"==o&&(i=t.selectionStart);var c=t.value.substring(0,i),s=t.value.substring(i,t.value.length);if(t.value=c+a+s,i+=a.length,"ie"==o){t.focus();var d=document.selection.createRange();d.moveStart("character",-t.value.length),d.moveStart("character",i),d.moveEnd("character",0),d.select()}else"ff"==o&&(t.selectionStart=i,t.selectionEnd=i,t.focus());t.scrollTop=n}}(n.parents(".dynamic-values").siblings("input[type=text]").get(0),i);n.removeProp("selected").closest("select").val("")})),e(document).on("input click",".acf-field[data-dynamic_values] input",(function(t){t.stopPropagation();var n=e(this);e(".dynamic-values").remove(),a.find(".all_fields-option").addClass("acf-hidden"),n.after(a)})),e(document).on("click",".acf-field[data-dynamic_values] .dynamic-value-options",(function(n){n.stopPropagation();var i=e(this);e(".dynamic-values").remove(),1!=t?(t=!0,a.find(".all_fields-option").removeClass("acf-hidden"),i.after(a)):t=!1})),e(document).on("change",".field-type",(function(a){var t=e(this).parents(".acf-field-settings"),n=t.find("input.field-label");""==n.val()&&n.val(e(this).find('option[value="'+e(this).val()+'"]').text()).trigger("blur");var i=t.find("input.field-name");""==i.val()&&i.val(e(this).val())}))}))}(jQuery);
[-] editor.js
[edit]
[+]
..
[-] admin.js
[edit]
[-] acfef.js
[edit]
[-] editor-min.js
[edit]
[-] acfef-min.js
[edit]
[-] password-strength.min.js
[edit]
[-] acf-frontend-input.js
[edit]
[-] acfef-modal.min.js
[edit]
[-] admin-min.js
[edit]