mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-04 11:43:18 +00:00
Better auto initialization method for forms and resource displays
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
ResourceDisplays.JobDisplay = class JobDisplay extends ResourceDisplays.BaseDisplay {
|
||||
static htmlClass = 'job-display';
|
||||
|
||||
constructor(displayElement) {
|
||||
super(displayElement);
|
||||
this.jobId = this.displayElement.dataset.jobId;
|
||||
|
Reference in New Issue
Block a user