summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-12-02 21:40:05 +0800
committerJo-Philipp Wich <jo@mein.io>2018-12-02 15:01:58 +0100
commitbe506665dfab87138dbc8dc46521c6d6c60af0f9 (patch)
tree2739ed37690cd747fc8a376f17cc3254d20fd515 /modules
parentbe2d0536f4f6083cc0ba77d4e70915164889ca3e (diff)
luci-base: fix ReferenceError
The showTooltip() and hideTooltip() functions have been moved to luci.js Reported-by: brv phoenix <feixuekaka1@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/cbi.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/cbi.js b/modules/luci-base/htdocs/luci-static/resources/cbi.js
index edf634ee74..635740a70c 100644
--- a/modules/luci-base/htdocs/luci-static/resources/cbi.js
+++ b/modules/luci-base/htdocs/luci-static/resources/cbi.js
@@ -2196,12 +2196,12 @@ function hideModal()
document.addEventListener('DOMContentLoaded', function() {
document.addEventListener('validation-failure', function(ev) {
if (ev.target === document.activeElement)
- showTooltip(ev);
+ L.showTooltip(ev);
});
document.addEventListener('validation-success', function(ev) {
if (ev.target === document.activeElement)
- hideTooltip(ev);
+ L.hideTooltip(ev);
});
document.querySelectorAll('.table').forEach(cbi_update_table);