Changeset 3303755
- Timestamp:
- 05/30/2025 06:27:37 PM (10 months ago)
- Location:
- ce21-suite/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (1 diff)
-
js/classified-filter.js (modified) (2 diffs)
-
single-sign-on-ce21.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ce21-suite/trunk/README.txt
r3301662 r3303755 5 5 Requires at least: 4.0 6 6 Tested up to: 6.8 7 Stable tag: 2.2. 37 Stable tag: 2.2.4 8 8 Requires PHP: 5.4 9 9 License: GPLv2 or later -
ce21-suite/trunk/js/classified-filter.js
r3301662 r3303755 5 5 const pageSize = parseInt(rawPageSize, 10); 6 6 const allowedSizes = [10, 25, 50, 100]; 7 8 // If page_size is missing, non-numeric, or not in allowed list9 if (!rawPageSize || isNaN(pageSize) || !allowedSizes.includes(pageSize)) {10 params.set('page_size', '10');11 url.search = params.toString();12 window.location.replace(url.toString());13 return; // Stop script execution14 }15 7 })(); 16 8 … … 144 136 }); 145 137 146 147 // $('.ce21-category-filter[value="all"]').on('change', function() {148 // $('#ce21-body-loader').fadeIn();149 150 // if ($(this).is(':checked')) {151 // $('.individual-category').prop('checked', false);152 // }153 // fetchAds(1);154 // $('.ce21-page-link').removeClass('active');155 // $('.ce21-page-link').first().addClass('active');156 // });157 158 // $('.individual-category').on('change', function() {159 // $('#ce21-body-loader').fadeIn();160 161 // if ($('.individual-category:checked').length > 0) {162 // $('.ce21-category-filter[value="all"]').prop('checked', false);163 // } else {164 // $('.ce21-category-filter[value="all"]').prop('checked', true);165 // }166 167 // fetchAds(1);168 // $('.ce21-page-link').removeClass('active');169 // $('.ce21-page-link').first().addClass('active');170 // });171 172 173 138 // Handle pagination link clicks using jQuery 174 139 jQuery(document).on('click', '.ce21-page-link', function(e) { -
ce21-suite/trunk/single-sign-on-ce21.php
r3301662 r3303755 16 16 * Plugin URI: https://www.ce21.com 17 17 * Description: CE21 Suite. 18 * Version: 2.2. 318 * Version: 2.2.4 19 19 * Author: CE21 20 20 * Author URI: https://www.ce21.com
Note: See TracChangeset
for help on using the changeset viewer.