Fixed bug where template categoryes are not save properly in template

This commit is contained in:
Nedim Uka
2018-10-04 12:41:17 +02:00
parent 7ceac97fed
commit c5c07cbfae
3 changed files with 5 additions and 5 deletions

View File

@@ -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,
};