diff options
Diffstat (limited to 'applications/luci-app-ledtrig-usbport/htdocs/luci-static')
-rw-r--r-- | applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js b/applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js index 970016c42b..71ed7bf8ae 100644 --- a/applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js +++ b/applications/luci-app-ledtrig-usbport/htdocs/luci-static/resources/view/system/led-trigger/usbport.js @@ -1,4 +1,5 @@ 'use strict'; +'require baseclass'; 'require rpc'; 'require uci'; 'require form'; @@ -9,7 +10,7 @@ var callUSB = rpc.declare({ expect: { 'ports': [] } }); -return L.Class.extend({ +return baseclass.extend({ trigger: _('usbport (kernel)'), kernel: true, addFormOptions(s){ |