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:51:40 +0000 (14:51 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js

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