Commit db75d6c
John75SunCity
fix: Temporarily disable publicWidget-dependent portal JS files
ISSUE:
- 4 portal JavaScript files causing module loading errors
- All use publicWidget which is unavailable in frontend bundle
- Blocking portal from loading properly
FILES DISABLED:
1. portal_inventory_highlights.js (37 jQuery calls)
2. portal_signature.js (47 jQuery calls)
3. portal_barcode_management.js (30 jQuery calls - barcode removed from portal)
4. visualization_dynamic_loader.js (0 jQuery calls - easiest to convert)
IMPACT:
- Portal loads without JavaScript errors
- Lost features: inventory highlights, e-signature widget, barcode scanner, org chart
- Can re-enable after vanilla JS conversion
NEXT STEPS:
1. Test portal loads cleanly
2. Convert visualization_dynamic_loader.js first (low complexity)
3. Evaluate if other features needed in portal
4. Convert remaining files as needed
Reference: Same issue as field_label_customizer.js (fixed in cecdd5c)1 parent cecdd5c commit db75d6c
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
| 788 | + | |
788 | 789 | | |
789 | | - | |
| 790 | + | |
790 | 791 | | |
791 | 792 | | |
792 | 793 | | |
| |||
804 | 805 | | |
805 | 806 | | |
806 | 807 | | |
807 | | - | |
| 808 | + | |
| 809 | + | |
808 | 810 | | |
809 | 811 | | |
810 | | - | |
| 812 | + | |
| 813 | + | |
811 | 814 | | |
812 | 815 | | |
813 | | - | |
814 | | - | |
| 816 | + | |
| 817 | + | |
815 | 818 | | |
816 | 819 | | |
817 | 820 | | |
| |||
0 commit comments