diff options
Diffstat (limited to 'applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js')
-rw-r--r-- | applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js index 0b0123979..14e968a07 100644 --- a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js +++ b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js @@ -1,13 +1,14 @@ // This is free software, licensed under the Apache License, Version 2.0 'use strict'; +'require view'; 'require fs'; 'require ui'; 'require uci'; 'require form'; 'require tools.widgets as widgets'; -return L.view.extend({ +return view.extend({ handleDeleteModal: function(m, iface, ev) { L.showModal(_('Delete interface <em>%h</em>').format(iface), [ E('p', _('The interface will be removed from the database permanently. This cannot be undone.')), |