From 1c88b6f69cd87a436073be9cdf05eee6c3757f42 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Mon, 28 Aug 2017 12:31:04 +0000 Subject: - Exportprofile auf Produkte ausgeweitet - git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6425 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_export/settings_edit.phtml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'views/mods/mod_export/settings_edit.phtml') diff --git a/views/mods/mod_export/settings_edit.phtml b/views/mods/mod_export/settings_edit.phtml index 1c8fa18..39c0c16 100644 --- a/views/mods/mod_export/settings_edit.phtml +++ b/views/mods/mod_export/settings_edit.phtml @@ -96,15 +96,20 @@ } // function wpsg_mod_export_removeProfil(profil_id) - function wpsg_mod_export_addProfil() + function wpsg_mod_export_addProfil(type) { jQuery('#wpsg_profil_list').html('<?php echo __('Bitte warten ...', 'wpsg'); ?>'); jQuery.ajax( { - url: 'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export&do=wpsg_mod_export_addProfil&noheader=1', + url: 'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_export&do=wpsg_mod_export_addProfil&noheader=1', + data: { + type: type + }, success: function(data) { + jQuery("#wpsg_profil_list").html(data); + } } ); @@ -126,7 +131,7 @@ }, success: function(data) { - if (data != '1') + if (data != '1' && data != '0') { alert(data); @@ -140,7 +145,9 @@ - +
+ +

callMod('wpsg_mod_export', 'profilList'); ?>
\ No newline at end of file -- cgit v1.2.3