summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2020-09-09 04:58:46 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2020-09-09 04:58:46 +0000
commit3a62da5d96773b8dd534446d225d45991b1444ef (patch)
tree48a6485f7e64ef857da445213a81ac685a1ceed6 /views
parenta92095d9cc7918c10d66ef3f21e493da9a46cab3 (diff)
- Bugfix: Checkbox "Aktiv" in der Versandarten- /Zahlungartenverwaltung lässt sich wieder speichern
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7761 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_userpayment/list.phtml2
-rw-r--r--views/mods/mod_versandarten/list.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/mods/mod_userpayment/list.phtml b/views/mods/mod_userpayment/list.phtml
index b0d05d5..c57a7e8 100644
--- a/views/mods/mod_userpayment/list.phtml
+++ b/views/mods/mod_userpayment/list.phtml
@@ -40,7 +40,7 @@
jQuery('#zv_<?php echo $zv['id']; ?>_aktiv').bind('change', function() {
var value = 0;
- if (jQuery(this).attr("checked") == "checked") value = 1;
+ if (jQuery(this).attr("checked") === true) value = 1;
jQuery.ajax( {
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_userpayment&do=inlinedit&noheader=1',
diff --git a/views/mods/mod_versandarten/list.phtml b/views/mods/mod_versandarten/list.phtml
index 7775430..70c022b 100644
--- a/views/mods/mod_versandarten/list.phtml
+++ b/views/mods/mod_versandarten/list.phtml
@@ -45,7 +45,7 @@
jQuery('#va_<?php echo $va['id']; ?>_aktiv').bind('change', function() {
var value = 0;
- if (jQuery(this).attr("checked") == "checked") value = 1;
+ if (jQuery(this).prop("checked") === true) value = 1;
jQuery.ajax( {
url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1',