summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',