From 12af0d1e2abd7223af36ecfc0c5bcf9aa77fc239 Mon Sep 17 00:00:00 2001 From: hartmut Date: Tue, 12 Sep 2017 08:07:03 +0000 Subject: Korrektur Produktbilder->ImageHandler git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6493 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_request/requestpage.phtml | 3 --- views/produkt/images.phtml | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/views/mods/mod_request/requestpage.phtml b/views/mods/mod_request/requestpage.phtml index 61b96db..75a5722 100644 --- a/views/mods/mod_request/requestpage.phtml +++ b/views/mods/mod_request/requestpage.phtml @@ -102,9 +102,6 @@ get_option('wpsg_mod_request_requestpageimage') == '1') { - //if (wpsg_isSizedString($request_product['product_data']['varianten_image'])) $arBilder = array($request_product['product_data']['varianten_image']); - //else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($request_product['product_id'])); - if (wpsg_isSizedString($request_product['product_data']['varianten_image'])) $arBilder = array($request_product['product_data']['varianten_image']); else { diff --git a/views/produkt/images.phtml b/views/produkt/images.phtml index 3f29c65..a5d254b 100644 --- a/views/produkt/images.phtml +++ b/views/produkt/images.phtml @@ -55,7 +55,7 @@ * Wird beim löschen eines Bilds (anklicken) aufgerufen */ function wpsg_remove_bild_MT(pid) { - +alert(1); post_id = pid; //jQuery('#wpsg_produktbilder_remove').show(); jQuery('#wpsg_produktbilder_remove').modal( { } ); @@ -64,7 +64,7 @@ } function wpsg_remove_bild_MT_OK() { - +alert(2); delmt = jQuery('#dialog_produktbilder_delmt').is(':checked'); del = jQuery('#dialog_produktbilder_del').is(':checked'); @@ -98,7 +98,7 @@ */ function wpsg_remove_bild(strBild) { - +alert(3); if (!confirm('')) return false; jQuery('#produktbilder_target').html('<?php echo __('Bitte warten ...', 'wpsg'); ?>'); -- cgit v1.2.3