summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2021-06-02 06:54:51 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2021-06-02 06:54:51 +0000
commit4fd6dc6845bb986a6e86b2fb6270eb0136aae6bb (patch)
tree037425a2cf631aa82e11b937f8cd7157f4a433ed
parentec8777e2484f5d8f70d9674d012873f82f8dfc60 (diff)
- Bugfix: Sortierung nach Preis Ab- und Austeigend korrigiert (Produktansichten / Theme)
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7902 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/mods/mod_productindex/page_metabox.phtml39
1 files changed, 19 insertions, 20 deletions
diff --git a/views/mods/mod_productindex/page_metabox.phtml b/views/mods/mod_productindex/page_metabox.phtml
index 45ae757..4b46638 100644
--- a/views/mods/mod_productindex/page_metabox.phtml
+++ b/views/mods/mod_productindex/page_metabox.phtml
@@ -7,12 +7,12 @@
?>
<style type="text/css">
-
-#wpsg_mod_productindex_layer { height:20rem; }
-#wpsg_mod_productindex_layer select,
-#wpsg_mod_productindex_layer input { width:25rem; }
-#wpsg_mod_productindex_layer #wpsg_mod_productindex_hideOrder,
-#wpsg_mod_productindex_layer #wpsg_mod_productindex_hideViewSelect { width:15px; height:15px; }
+
+ #wpsg_mod_productindex_layer { height:20rem; }
+ #wpsg_mod_productindex_layer select,
+ #wpsg_mod_productindex_layer input { width:25rem; }
+ #wpsg_mod_productindex_layer #wpsg_mod_productindex_hideOrder,
+ #wpsg_mod_productindex_layer #wpsg_mod_productindex_hideViewSelect { width:15px; height:15px; }
</style>
@@ -90,34 +90,33 @@
</div>
-<script type="text/javascript">/* <![CDATA[ */
+<script>
/**
* Zeigt / Versteckt die Optionen für die Produktübersichtsseite
*/
- function wpsg_mod_productindex_activate()
- {
-
- if (jQuery('#wpsg_mod_productindex_active').attr('checked'))
- {
+ function wpsg_mod_productindex_activate() {
+
+ if (jQuery('#wpsg_mod_productindex_active').prop('checked')) {
+
jQuery('#wpsg_mod_productindex_layer').show();
- }
- else
- {
+
+ } else {
+
jQuery('#wpsg_mod_productindex_layer').hide();
+
}
- } // wpsg_mod_productindex_activate()
+ }
- function wpsg_mod_productindex_switchShow()
- {
+ function wpsg_mod_productindex_switchShow() {
var show = jQuery('#wpsg_mod_productindex_show').val();
jQuery('.wpsg_mod_productindex_layershow').hide();
jQuery('.wpsg_mod_productindex_layer_' + show).show();
- } // function wpsg_mod_productindex_switchShow()
+ }
jQuery(document).ready(function() {
@@ -129,4 +128,4 @@
} );
-/* ]]> */</script> \ No newline at end of file
+</script> \ No newline at end of file