| 
      
            Lines 318-327
          define([
      
      
        Link Here
      
     | 
  
        
          | 318 | 
          		},  | 
          318 | 
          		},  | 
        
        
          | 319 | 
           | 
          319 | 
           | 
        
        
          | 320 | 
          		vncLink: function( ids, items ) { | 
          320 | 
          		vncLink: function( ids, items ) { | 
        
          
            
              | 321 | 
              			array.forEach(ids, function(id) { | 
              321 | 
              			array.forEach(items, function(item) { | 
            
            
               | 
               | 
              322 | 
              				var id = item.id;  | 
            
        
          | 322 | 
          				var uuid = id.slice(id.indexOf('#') + 1); | 
          323 | 
          				var uuid = id.slice(id.indexOf('#') + 1); | 
        
        
          | 323 | 
          				var port = window.location.port ? ':' + window.location.port : '';  | 
          324 | 
          				var port = window.location.port ? ':' + window.location.port : '';  | 
        
          
            
              | 324 | 
              				var url = window.location.protocol + '//' + window.location.host + port + '/univention-novnc/vnc_auto.html?port=6080&path=?token=' + uuid;  | 
              325 | 
              				var title = encodeURIComponent(item.label + '@' + item.nodeName);  | 
            
            
               | 
               | 
              326 | 
              				var url = window.location.protocol + '//' + window.location.host + port + '/univention-novnc/vnc_auto.html?port=6080&path=?token=' + uuid + '&title=' + title;  | 
            
        
          | 325 | 
          				window.open(url, '_blank');  | 
          327 | 
          				window.open(url, '_blank');  | 
        
        
          | 326 | 
          			});  | 
          328 | 
          			});  | 
        
        
          | 327 | 
          		},  | 
          329 | 
          		},  |