From b348f33f10747830b1b6dc26b2c6d804e61e70e6 Mon Sep 17 00:00:00 2001 From: hartmut Date: Thu, 18 May 2017 09:37:48 +0000 Subject: Korrektur Zubehörprodukte MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6272 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml | 6 +++--- views/produkt/select.phtml | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'views') diff --git a/views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml b/views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml index ed87073..6b670ea 100644 --- a/views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml +++ b/views/mods/mod_relatedproducts/produkt_addedit_sidebar.phtml @@ -27,7 +27,7 @@ -
+

@@ -46,7 +46,7 @@ jQuery('#wpsg_mod_relatedproducts_dialog .modal-body').html('<?php echo __('Bitte warten ...', 'wpsg'); ?>'); jQuery('#wpsg_mod_relatedproducts_dialog').modal( { } ).modal('show'); - + jQuery.ajax( { url: 'admin.php?page=wpsg-Produkt&action=select&noheader=1&wpsg_mode=wpsg_mod_relatedproducts&edit_id=view['data']['id']; ?>', success: function(data) { @@ -64,7 +64,7 @@
- +

diff --git a/views/produkt/select.phtml b/views/produkt/select.phtml index 1edac16..93a9898 100644 --- a/views/produkt/select.phtml +++ b/views/produkt/select.phtml @@ -71,7 +71,7 @@ tinyMCEPopup.close(); - + } @@ -118,7 +118,9 @@ { insertProdukt(); - jQuery('#wpsg_relatedproducts_produktauswahl').html('').dialog('destroy'); + + //jQuery('#wpsg_mod_relatedproducts_dialog').html('').dialog('close'); + jQuery('#wpsg_mod_relatedproducts_dialog').modal( { } ).modal('hide'); return false; -- cgit v1.2.3