mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Minor Codestyle updates.
This commit is contained in:
		@@ -88,8 +88,8 @@ class RessourceList {
 | 
			
		||||
      </tr>
 | 
			
		||||
    `.trim();
 | 
			
		||||
    this.listjs.list.style.cursor = 'pointer';
 | 
			
		||||
    this.userId = listElement.dataset.userId;
 | 
			
		||||
    if (typeof this.onclick === 'function') {this.listjs.list.addEventListener('click', event => this.onclick(event));}
 | 
			
		||||
    this.userId = this.listjs.listContainer.dataset.userId;
 | 
			
		||||
    this.listjs.list.addEventListener('click', event => this.onclick(event));
 | 
			
		||||
    if (this.userId) {
 | 
			
		||||
      app.addEventListener('users.patch', patch => this.usersPatchHandler(patch));
 | 
			
		||||
      app.getUserById(this.userId).then(
 | 
			
		||||
@@ -115,9 +115,9 @@ class RessourceList {
 | 
			
		||||
 | 
			
		||||
  init(user) {throw 'Not implemented';}
 | 
			
		||||
 | 
			
		||||
  usersPatchHandler(patch) {throw 'Not implemented';}
 | 
			
		||||
  onclick(event) {throw 'Not implemented';}
 | 
			
		||||
 | 
			
		||||
  preprocessRessource() {throw 'Not implemented'}
 | 
			
		||||
  usersPatchHandler(patch) {throw 'Not implemented';}
 | 
			
		||||
 | 
			
		||||
  add(ressources) {
 | 
			
		||||
    let values = Array.isArray(ressources) ? ressources : [ressources];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user