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 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'views/mods') 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', -- cgit v1.2.3