Commit 26e8eb8f authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1291: Show errors on indexed resources

Task-Url: https://pm.winseda.de/issues/1291
parent f6e0349b
...@@ -41,6 +41,18 @@ ResultItem.prototype.resize = function() { ...@@ -41,6 +41,18 @@ ResultItem.prototype.resize = function() {
$(".collection-image span").css("font-size", Math.floor($(".collection-image").width()*0.07)); $(".collection-image span").css("font-size", Math.floor($(".collection-image").width()*0.07));
}; };
ResultItem.prototype.showErrors = function(button) {
var indicator = $(button).find(".fas");
if ($("#item-detail-errors-container").hasClass("show")) {
$("#item-detail-errors-container").removeClass("show");
$(indicator).addClass("fa-chevron-circle-down").removeClass("fa-chevron-circle-up");
} else {
$("#item-detail-errors-container").addClass("show");
$(indicator).addClass("fa-chevron-circle-up").removeClass("fa-chevron-circle-down");
}
};
ResultItem.prototype.loadOriginalData = function(button) { ResultItem.prototype.loadOriginalData = function(button) {
this.loadData("original", "#item-detail-dataset-container", "#item-detail-dataset", button); this.loadData("original", "#item-detail-dataset-container", "#item-detail-dataset", button);
}; };
......
Supports Markdown
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