From 0d0a3f4d0df44387fe9bec0c5597f6c491f44eec Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 30 Dec 2019 14:03:14 +0100 Subject: [PATCH] luci-base: ui.js: expose UIElement class as AbstractElement Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index a60aea9119..684d984ad9 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, -- 2.30.2