Subversion Repositories wpShopGermany4

Rev

Rev 7562 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7562 Rev 7761
Line 43... Line 43...
43
        <?php echo wpsg_drawForm_TextEnd(__('Aktiv', 'wpsg')); ?>
43
        <?php echo wpsg_drawForm_TextEnd(__('Aktiv', 'wpsg')); ?>
44
        <script type="text/javascript">/* <![CDATA[ */
44
        <script type="text/javascript">/* <![CDATA[ */
45
			jQuery('#va_<?php echo $va['id']; ?>_aktiv').bind('change', function() {
45
			jQuery('#va_<?php echo $va['id']; ?>_aktiv').bind('change', function() {
46
 
46
 
47
				var value = 0;
47
				var value = 0;
48
				if (jQuery(this).attr("checked") == "checked") value = 1;
48
				if (jQuery(this).prop("checked") === true) value = 1;
49
 
49
 
50
				jQuery.ajax( {
50
				jQuery.ajax( {
51
					url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1',
51
					url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1',
52
					data: {
52
					data: {
53
						field: 'aktiv',
53
						field: 'aktiv',