From ee3ca1819f5b3df048f1d7342094b7f43cfeada7 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Fri, 2 Oct 2020 07:27:25 +0000 Subject: - Speicherung der Einstellung "Anzeige" im Produktattribut git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7783 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_produktattribute/list.phtml | 3 ++- views/produkttemplates/standard.phtml | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'views') diff --git a/views/mods/mod_produktattribute/list.phtml b/views/mods/mod_produktattribute/list.phtml index 0c20de2..1f59a93 100644 --- a/views/mods/mod_produktattribute/list.phtml +++ b/views/mods/mod_produktattribute/list.phtml @@ -87,7 +87,8 @@ jQuery('#show_').bind('change', function() { - if (jQuery(this).attr("checked")) value = 1; else value = 0; + //if (jQuery(this).attr("checked")) value = 1; else value = 0; + if (jQuery(this).prop("checked")) value = 1; else value = 0; jQuery.ajax( { url: 'wp-admin/admin.php?page=wpsg-Admin&subaction=module&modul=wpsg_mod_produktattribute&do=inlinedit&noheader=1', diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index 4492c90..bdcf3ba 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -162,25 +162,25 @@
- + hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showProduct') == '1') { ?>
- view['data']['stock']) > '0') {?> + view['data']['stock']) > 0) {?> view['data']['stock']); ?> - +
- + hasMod('wpsg_mod_fuellmenge')) { ?> -- cgit v1.2.3