Commit 48ffc9c7 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1292: Refactor es mapping generation

Task-Url: https://pm.winseda.de/issues/1292
parent 26e8eb8f
......@@ -61,6 +61,10 @@ ResultItem.prototype.loadIntegratedData = function(button) {
this.loadData("integrations", "#item-detail-integrated-container", "#item-detail-integrated", button);
};
ResultItem.prototype.loadMetadata = function(button) {
this.loadData("metadata", "#item-detail-metadata-container", "#item-detail-metadata", button);
};
ResultItem.prototype.loadData = function(dataType, containerSelector, contentSelector, button) {
var indicator = $(button).find(".fas");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment