Change our internal template keys to be prefixed with an underscore for easier identification

This commit is contained in:
2025-06-21 08:35:33 +10:00
parent ee7762d69b
commit e8aaa17122
9 changed files with 38 additions and 36 deletions

4
public/js/custom.js vendored
View File

@@ -15,7 +15,7 @@ function getNode(item) {
$.ajax({
url: '/frame',
method: 'POST',
data: { key: item },
data: { _key: item },
dataType: 'html',
beforeSend: function() {
content = $('.main-content')
@@ -96,7 +96,7 @@ $(document).ready(function() {
lazyLoad: function(event,data) {
data.result = {
url: '/ajax/children',
data: {key: data.node.data.item,depth: 1}
data: {_key: data.node.data.item,depth: 1}
};
expandChildren(data.tree.rootNode);