luci/modules/luci-compat
Jo-Philipp Wich 2390e72976 treewide: fix "Unhandled token" errors with Lua CBI maps
The `data-type` attribute is used to bind datatype validators to a widget
while some templates used the same attribute to denote the name of the
underlying widget.

Change the `data-type` attributes referring to the widget name to
`data-widget` in order to stop the JS token error spam.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 13e9e3e9e8)
2019-11-16 18:26:27 +01:00
..
luasrc treewide: fix "Unhandled token" errors with Lua CBI maps 2019-11-16 18:26:27 +01:00
Makefile treewide: move templates and libraries not used by the core to luci-compat 2019-11-03 17:56:58 +01:00