summaryrefslogtreecommitdiffhomepage
path: root/docs/jsapi/ui.js.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/jsapi/ui.js.html')
-rw-r--r--docs/jsapi/ui.js.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/jsapi/ui.js.html b/docs/jsapi/ui.js.html
index d20fe4056b..b58cf93f94 100644
--- a/docs/jsapi/ui.js.html
+++ b/docs/jsapi/ui.js.html
@@ -3062,6 +3062,8 @@
<span class="subtitle">Methods</span>
+ <li data-name="LuCI.ui.menu#flushCache"><a href="LuCI.ui.menu.html#flushCache">flushCache</a></li>
+
<li data-name="LuCI.ui.menu#getChildren"><a href="LuCI.ui.menu.html#getChildren">getChildren</a></li>
<li data-name="LuCI.ui.menu#load"><a href="LuCI.ui.menu.html#load">load</a></li>
@@ -6306,6 +6308,14 @@ var UIMenu = baseclass.singleton(/** @lends LuCI.ui.menu.prototype */ {
},
/**
+ * Flush the internal menu cache to force loading a new structure on the
+ * next page load.
+ */
+ flushCache: function() {
+ session.setLocalData('menu', null);
+ },
+
+ /**
* @param {LuCI.ui.menu.MenuNode} [node]
* The menu node to retrieve the children for. Defaults to the menu's
* internal root node if omitted.
@@ -7722,7 +7732,7 @@ return UI;
<footer>
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 16 2020 13:30:42 GMT+0200 (Central European Summer Time)
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time)
</footer>
</div>
</div>