diff --git a/InvenTree/templates/js/dynamic/nav.js b/InvenTree/templates/js/dynamic/nav.js index 9bce22d517..2c6c7e62ae 100644 --- a/InvenTree/templates/js/dynamic/nav.js +++ b/InvenTree/templates/js/dynamic/nav.js @@ -154,7 +154,9 @@ function enableSidetree(label) { 'core': { 'data': { 'url': '/api/part/category/tree/', - 'data': function(node) {return {'id': node.id}; } + 'data': function(node) { + return {'id': node.id}; + } } } }).bind('select_node.jstree', function(e, data) {