mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 21:25:42 +00:00 
			
		
		
		
	style fixes
This commit is contained in:
		| @@ -7,6 +7,7 @@ | ||||
|     addSidebarItem, | ||||
|     addSidebarLink, | ||||
|     enableSidebar, | ||||
|     enableSidetree, | ||||
|     onPanelLoad, | ||||
| */ | ||||
|  | ||||
| @@ -148,15 +149,15 @@ function enableSidebar(label, options={}) { | ||||
| /** | ||||
|  * Enable support for a sidetree on this page | ||||
|  */ | ||||
|  function enableSidetree(label) { | ||||
| function enableSidetree(label) { | ||||
|     $('#tree').jstree({ | ||||
|         'core' : { | ||||
|             'data' : { | ||||
|                 'url' : '/api/part/category/tree/', | ||||
|                 'data' : function (node) { return { 'id' : node.id }; } | ||||
|         'core': { | ||||
|             'data': { | ||||
|                 'url': '/api/part/category/tree/', | ||||
|                 'data': function(node){return {'id': node.id }; } | ||||
|             } | ||||
|         } | ||||
|     }).bind("select_node.jstree",function (e, data) { | ||||
|     }).bind('select_node.jstree', function(e, data) { | ||||
|         window.location.href = data.node.a_attr.href; | ||||
|     }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user