summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-12-30 14:03:14 +0100
committerJo-Philipp Wich <jo@mein.io>2019-12-30 14:51:40 +0100
commit0d0a3f4d0df44387fe9bec0c5597f6c491f44eec (patch)
tree647661f1cf8b5c6c77ddc10aceca6f82162fc275
parente38028d9d61e6dd2b4c426af87927e5373294389 (diff)
luci-base: ui.js: expose UIElement class as AbstractElement
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js2
1 files changed, 2 insertions, 0 deletions
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,