secubox-openwrt/package/secubox/luci-app-secubox-admin/Makefile
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

19 lines
524 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-secubox-admin
PKG_VERSION:=1.0.0
PKG_RELEASE:=6
PKG_LICENSE:=MIT
PKG_MAINTAINER:=CyberMind <contact@cybermind.fr>
LUCI_TITLE:=LuCI SecuBox Admin Control Center
LUCI_DEPENDS:=+luci-base +luci-app-secubox +rpcd +secubox-core
LUCI_DESCRIPTION:=Unified admin control center for SecuBox appstore plugins with system monitoring
LUCI_PKGARCH:=all
# This is free software, licensed under the MIT License
include $(TOPDIR)/feeds/luci/luci.mk
# call BuildPackage - OpenWrt buildroot