summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2020-10-02 07:27:25 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2020-10-02 07:27:25 +0000
commitee3ca1819f5b3df048f1d7342094b7f43cfeada7 (patch)
treea1af773241a1a4c71c8f887911633e54b369c7a5 /views/mods
parent31d4c579c51aba105ee6390f96d537784aab5314 (diff)
- Speicherung der Einstellung "Anzeige" im Produktattribut
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7783 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods')
-rw-r--r--views/mods/mod_produktattribute/list.phtml3
1 files changed, 2 insertions, 1 deletions
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_<?php echo $pa['id']; ?>').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: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=module&modul=wpsg_mod_produktattribute&do=inlinedit&noheader=1',