diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-05 18:57:24 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-03-05 18:57:24 +0000 |
| commit | 4e047665e3b18689fcfd9ae65da07db0cefaef9c (patch) | |
| tree | 7ef19a45b643cc5a9e173e0aae3b736a3e6e429c /views/js | |
| parent | 703a450908599b3ebc8018f41f54e510bb0dc255 (diff) | |
- Im Shop aber schon
- Produktansichtenmodul funktioniert grundlegend über Shortcode (Ohne Sortierung / Listansicht)
- Tuning Produktverwaltung und ne Menge Warnungen raus
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5385 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/js')
| -rw-r--r-- | views/js/admin.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/views/js/admin.js b/views/js/admin.js index 4c0f7b6..d86bccf 100644 --- a/views/js/admin.js +++ b/views/js/admin.js @@ -191,3 +191,26 @@ function wpsg_in_array(needle, haystack) return false;
}
+
+ jQuery(document).ready(function() {
+
+ jQuery('.wpsg_showhide_filter').bind('click', function() {
+
+ if (jQuery(this).hasClass('active'))
+ {
+
+ jQuery('.wpsg-filter').slideUp(150);
+ jQuery(this).removeClass('active');
+
+ }
+ else
+ {
+
+ jQuery('.wpsg-filter').slideDown(150, function() { jQuery('.wpsg-filter input').first().focus(); } );
+ jQuery(this).addClass('active');
+
+ }
+
+ } );
+
+ } );
|
