|  | @@ -147,10 +147,11 @@
 | 
	
		
			
			| 147 | 147 |  </%def>
 | 
	
		
			
			| 148 | 148 |  
 | 
	
		
			
			| 149 | 149 |  <%def name="TREEVIEW(dom_id, selected_id='', uniq_workspace='0')">
 | 
	
		
			
			| 150 |  | -    <% get_root_url = tg.url("/workspaces/treeview_root", dict(current_id=selected_id)) %>
 | 
	
		
			
			|  | 150 | +    ## <% get_root_url = tg.url("/workspaces/treeview_root", dict(current_id=selected_id)) %>
 | 
	
		
			
			| 151 | 151 |      <div id='sidebarleft_menu'></div>
 | 
	
		
			
			| 152 | 152 |      <script src="${tg.url('/assets/js/sidebarleft.js')}"></script>
 | 
	
		
			
			| 153 | 153 |      <script>
 | 
	
		
			
			|  | 154 | +      // (function () { })() is equivalent to window.onload (http://stackoverflow.com/questions/9899372/pure-javascript-equivalent-to-jquerys-ready-how-to-call-a-function-when-the)
 | 
	
		
			
			| 154 | 155 |        (function () {
 | 
	
		
			
			| 155 | 156 |          sidebarLeft(document.getElementById('sidebarleft_menu'), '/', '?current_id=${selected_id}')
 | 
	
		
			
			| 156 | 157 |        })()
 |