mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Minor Codestyle updates.
This commit is contained in:
parent
982d5bc46f
commit
067273df6d
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user