PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
yith-woocommerce-gift-cards-premium
/
assets
/
js
jQuery(document).ready(function(t){t("#yith_ywgc_transform_smart_coupons").on("click",function(){!function e(o,c){var n=t("#ywgc_ajax_zone_transform_smart_coupons");void 0===c&&(c=0);void 0===o&&(o=0);var a={limit:o,offset:c,action:"yith_convert_smart_coupons_button"};0==c&&n.block({message:null,overlayCSS:{background:"#f1f1f1",opacity:.7}});t.ajax({type:"POST",data:a,url:ywgc_data.ajax_url,success:function(t){console.log("Processing, do not cancel"),1==t.loop&&e(t.limit,t.offset),0==t.loop&&n.unblock()},error:function(t){return console.log("ERROR"),console.log(t),n.unblock(),!1}})}()}),t(document).ready(function(){t("input#ywgc_permit_its_a_present").prop("checked")&&(t("select#ywgc_gift_this_product_redirected_page").parent().parent().removeClass("ywgc-disabled-option"),t(this).closest(".form-table").next("h2").removeClass("ywgc-disabled-option"))}),t("input#ywgc_permit_its_a_present").change(function(){t(this).hasClass("onoffchecked")||t("input#ywgc_permit_its_a_present").prop("checked")?(t("select#ywgc_gift_this_product_redirected_page").parent().parent().removeClass("ywgc-disabled-option"),t(this).closest(".form-table").next("h2").removeClass("ywgc-disabled-option")):(t("select#ywgc_gift_this_product_redirected_page").parent().parent().addClass("ywgc-disabled-option"),t(this).closest(".form-table").next("h2").addClass("ywgc-disabled-option"))}),t(document).ready(function(){t("input#ywgc_auto_discount_button_activation").prop("checked")&&t("select#ywgc_redirected_page").parent().parent().removeClass("ywgc-disabled-option")}),t("input#ywgc_auto_discount_button_activation").change(function(){t(this).hasClass("onoffchecked")?t("select#ywgc_redirected_page").parent().parent().removeClass("ywgc-disabled-option"):t("select#ywgc_redirected_page").parent().parent().addClass("ywgc-disabled-option")}),t(document).ready(function(){t("input#ywgc_gift_this_product_button_redirect-to_product_page").prop("checked")&&t("#ywgc_gift_this_product_redirected_page").parent().parent().addClass("ywgc-disabled-option")}),t(document).on("click","#ywgc_gift_this_product_button_redirect-to_customize_page",function(e){t("#ywgc_gift_this_product_redirected_page").parent().parent().removeClass("ywgc-disabled-option")}),t(document).on("click","#ywgc_gift_this_product_button_redirect-to_product_page",function(e){t("#ywgc_gift_this_product_redirected_page").parent().parent().addClass("ywgc-disabled-option")})});
[+]
..
[-] ywgc-media-button.js
[edit]
[-] ywgc-gift-cards-admin-panel.js
[edit]
[-] ywgc-categories.js
[edit]
[-] ywgc-popup-handler.js
[edit]
[-] ywgc-categories.min.js
[edit]
[-] ywgc-backend.js
[edit]
[-] ywgc-gift-cards-admin-panel.min.js
[edit]
[-] ywgc-media-button.min.js
[edit]
[-] ywgc-backend.min.js
[edit]
[-] ywgc-frontend.min.js
[edit]
[-] ywgc-popup-handler.min.js
[edit]
[-] ywgc-frontend.js
[edit]