From: Jo-Philipp Wich Date: Mon, 30 Dec 2019 13:03:14 +0000 (+0100) Subject: luci-base: ui.js: expose UIElement class as AbstractElement X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bb07c50f5e3036cf164b567c65fd2d1f34795b0f;p=oweals%2Fluci.git luci-base: ui.js: expose UIElement class as AbstractElement Signed-off-by: Jo-Philipp Wich (cherry picked from commit 0d0a3f4d0df44387fe9bec0c5597f6c491f44eec) --- diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index 7f13e249a..e1a90373a 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -2779,6 +2779,8 @@ return L.Class.extend({ }, this.varargs(arguments, 2, ctx)); }, + AbstractElement: UIElement, + /* Widgets */ Textfield: UITextfield, Textarea: UITextarea,