luci-base: ui.js: expose UIElement class as AbstractElement
authorJo-Philipp Wich <jo@mein.io>
Mon, 30 Dec 2019 13:03:14 +0000 (14:03 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 30 Dec 2019 13:52:27 +0000 (14:52 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0d0a3f4d0df44387fe9bec0c5597f6c491f44eec)

modules/luci-base/htdocs/luci-static/resources/ui.js

index 7f13e249a9751918c7620af624d48efb55fc7fd9..e1a90373a24e145f025d6bf4058725f666e8b616 100644 (file)
@@ -2779,6 +2779,8 @@ return L.Class.extend({
                }, this.varargs(arguments, 2, ctx));
        },
 
+       AbstractElement: UIElement,
+
        /* Widgets */
        Textfield: UITextfield,
        Textarea: UITextarea,