littleshop/LittleShop/wwwroot/js
SysAdmin 0dbc49ee89 fix: Critical data loss bug in variant editor - removed overly aggressive column skip logic
Problem: Variant editor was skipping ALL columns with headers starting with 'Property '
(e.g., 'Property 1'), which caused complete data loss during serialization.

When users entered data but didn't rename the default column header, serializeToJSON()
would skip the column entirely, returning an empty array [] to the database.

Fix: Only skip columns with truly empty names, not default 'Property X' names.
Users can now save data even if they haven't renamed column headers.

Files changed:
- wwwroot/js/variant-editor.js: Removed propertyName.startsWith('Property ') check
- Areas/Admin/Views/VariantCollections/Create.cshtml: Updated cache-busting to v=20251113d
- Areas/Admin/Views/VariantCollections/Edit.cshtml: Updated cache-busting to v=20251113d
2025-11-14 00:35:55 +00:00
..
blazor-integration.js Fix: Loading screen now shows on every page load 2025-10-06 12:07:40 +01:00
holographic-effects.js PWA-implementation 2025-09-01 04:49:05 +01:00
modern-mobile.js Configure push notifications for internal-only access 2025-09-30 21:15:42 +01:00
notifications.js Fix: Prevent notification prompt from reappearing after timeout 2025-10-02 14:44:10 +01:00
product-variants.js Fix: Add Price field to variant collection editor 2025-10-03 18:45:13 +01:00
pwa-fixed.js CI/CD: Add GitLab CI/CD pipeline for Hostinger deployment 2025-10-01 13:10:48 +01:00
pwa.js Fix: Blazor Server loading screen now works correctly 2025-10-06 11:45:08 +01:00
signalr-notifications.js Add: SignalR real-time notifications for admin panel 2025-10-06 17:57:10 +01:00
variant-editor.js fix: Critical data loss bug in variant editor - removed overly aggressive column skip logic 2025-11-14 00:35:55 +00:00