Fixed bug where template categoryes are not save properly in template
This commit is contained in:
@@ -41,14 +41,14 @@ jQuery(function ($) {
|
||||
$template_search_installation
|
||||
|
||||
.on('change', function () {
|
||||
addSearchedTemplateCategory('services', $template_search_installation, $template_categories_container_isntallation)
|
||||
addSearchedTemplateCategory('installation', $template_search_installation, $template_categories_container_isntallation)
|
||||
});
|
||||
|
||||
|
||||
$template_search_services
|
||||
|
||||
.on('change', function () {
|
||||
addSearchedTemplateCategory('installation', $template_search_services, $template_categories_container_services)
|
||||
addSearchedTemplateCategory('services', $template_search_services, $template_categories_container_services)
|
||||
});
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ jQuery(function ($) {
|
||||
post_id: woocommerce_admin_meta_boxes.post_id,
|
||||
id: template_category_add_count,
|
||||
title: template_category_title,
|
||||
product_id: template_category_id,
|
||||
template_category_id: template_category_id,
|
||||
security: wc_bundles_admin_params.add_bundled_product_nonce,
|
||||
options: options,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user