X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/plugins/logistik-core/cmb2-ext/js
home
/
freights
/
public_html
/
wp-content
/
plugins
/
logistik-core
/
cmb2-ext
/
js
/
??
..
??
1m2qv0z9
(9.03 KB)
??
a916sf9r
(9.03 KB)
??
config.functions
(0 B)
??
custom.metafield.js
(171 B)
??
dx3u2k11
(9.03 KB)
??
fontawesome-iconpicker.min.js
(31.21 KB)
??
fontawesome-picker-init.js
(438 B)
??
page.metafieldconditional.js
(5.44 KB)
??
switcher.metafield.js
(646 B)
??
uw851w2c
(9.03 KB)
??
yot8nsrx
(9.03 KB)
Editing: switcher.metafield.js
(function(a){a.switcher=function(c){var b=a("input[type=checkbox],input[type=radio]");if(c!==undefined&&c.length){b=b.filter(c)}b.each(function(){var e=a(this).hide(),d=a(document.createElement("div")).addClass("ui-switcher").attr("aria-checked",e.is(":checked"));if("radio"===e.attr("type")){d.attr("data-name",e.attr("name"))}toggleSwitch=function(f){if(f.target.type===undefined){e.trigger(f.type)}d.attr("aria-checked",e.is(":checked"));if("radio"===e.attr("type")){a(".ui-switcher[data-name="+e.attr("name")+"]").not(d.get(0)).attr("aria-checked",false)}};d.on("click",toggleSwitch);e.on("click",toggleSwitch);d.insertBefore(e)})}})(jQuery);
Upload File
Create Folder