mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Merge pull request #1377 from SchrodingersGat/nav-tree-fix
Fix incorrect javascript call
This commit is contained in:
commit
197682635e
@ -389,18 +389,17 @@ enableNavbar({
|
|||||||
});
|
});
|
||||||
|
|
||||||
loadTree("{% url 'api-stock-tree' %}",
|
loadTree("{% url 'api-stock-tree' %}",
|
||||||
"#stock-tree",
|
"#stock-tree",
|
||||||
{
|
{
|
||||||
name: 'stock',
|
name: 'stock',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
$("#toggle-stock-tree").click(function() {
|
initNavTree({
|
||||||
toggleSideNav("#sidenav-left");
|
label: 'stock',
|
||||||
return false;
|
treeId: '#sidenav-left',
|
||||||
})
|
toggleId: '#toggle-stock-tree',
|
||||||
|
});
|
||||||
initSideNav();
|
|
||||||
|
|
||||||
$("#stock-serialize").click(function() {
|
$("#stock-serialize").click(function() {
|
||||||
launchModalForm(
|
launchModalForm(
|
||||||
|
Loading…
Reference in New Issue
Block a user