secubox-openwrt/package/secubox/luci-app-secubox-admin/htdocs/luci-static/resources/view/secubox-admin
CyberMind-FR 1c5d8eb29f fix(luci-app-secubox-admin): fix WidgetRenderer constructor error
Fixed TypeError "WidgetRenderer is not a constructor" in dashboard.js
by removing the 'new' keyword. LuCI's baseclass.extend() creates callable
classes that should not be instantiated with 'new'.

Changes:
- dashboard.js: Changed from 'new WidgetRenderer({...})' to 'WidgetRenderer({...})'
- Added comprehensive try-catch error handling with fallback error display
- Incremented PKG_RELEASE: 5 → 6
- Updated DEPLOY_UPDATES.md with v1.0.0-6 details

This fix allows the widget system to initialize properly on the dashboard.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-04 14:59:10 +01:00
..
apps.js feat: Multi-source AppStore with version management and updates UI (Phases 1-3) 2026-01-04 10:53:57 +01:00
catalog-sources.js fix: Add graceful fallback for RPC calls when backend not deployed 2026-01-04 14:44:24 +01:00
dashboard.js fix(luci-app-secubox-admin): fix WidgetRenderer constructor error 2026-01-04 14:59:10 +01:00
health.js feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
logs.js feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
settings.js feat: Release v0.8.2 - Admin Control Center, Documentation Mirror & Docker Automation 2026-01-04 08:29:31 +01:00
updates.js fix: Add graceful fallback for RPC calls when backend not deployed 2026-01-04 14:44:24 +01:00