Subversion Repositories wpShopGermany4

Rev

Rev 5896 | Rev 6425 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5896 Rev 5911
Line 110... Line 110...
110
		
110
		
111
		return false;
111
		return false;
112
		
112
		
113
	} // function wpsg_addExportProfil()
113
	} // function wpsg_addExportProfil()
114
 
114
 
-
 
115
	function wpsg_mod_export_setAtt(htmlCheckbox, field_id)
-
 
116
	{
-
 
117
		
-
 
118
		var value = '0';
-
 
119
		if (jQuery(htmlCheckbox).prop('checked') == true) value = '1';
-
 
120
		
-
 
121
		jQuery.ajax( { 
-
 
122
			url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export&do=inlinedit&noheader=1',
-
 
123
			data: {
-
 
124
				'name': 'field_xml_att_' + field_id,
-
 
125
				'value': value
-
 
126
			},			
-
 
127
			success: function(data) {
-
 
128
				
-
 
129
				if (data != '1')
-
 
130
				{
-
 
131
					
-
 
132
					alert(data);
-
 
133
					
-
 
134
				}
-
 
135
				
-
 
136
			}
-
 
137
		} );
-
 
138
		
-
 
139
	}
-
 
140
	
115
</script>
141
</script>
116
 
142
 
117
<a title="<?php echo __('Neuens Exportprofil anlegen', 'wpsg'); ?>" href="#" class="" onclick="return wpsg_mod_export_addProfil();"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Neues Exportprofil anlegen', 'wpsg'); ?></a>
143
<a title="<?php echo __('Neuens Exportprofil anlegen', 'wpsg'); ?>" href="#" class="" onclick="return wpsg_mod_export_addProfil();"><span class="wpsg-glyphicon glyphicon glyphicon-plus"></span><?php echo __('Neues Exportprofil anlegen', 'wpsg'); ?></a>
118
<br /><br />
144
<br /><br />
119
 
145