Commit 346520ac authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1324: Adapt admin dialogs to view but not change alias

Task-Url: https://pm.winseda.de/issues/1324
parent 1bc097e0
......@@ -79,25 +79,6 @@ CollectionEditor.prototype.refreshData = function(endpointId, datasetId, urlSuff
});
};
CollectionEditor.prototype.editPrefix = function(endpointId, schemaId, input, updateFieldSelector) {
var _this = this;
var form_identifier = "edit-prefix-" + endpointId + "/" + schemaId;
modalFormHandler = new ModalFormHandler({
formUrl: endpointId + "/" + schemaId + "/forms/oaiPrefix",
identifier: form_identifier,
//additionalModalClasses: "wider-modal",
translations: [{placeholder: "~*servererror.head", key: "~de.dariah.genericsearch.view.async.servererror.head"},
{placeholder: "~*servererror.body", key: "~de.dariah.genericsearch.view.async.servererror.body"},
{placeholder: "~*validationerrors.head", key: "~de.dariah.genericsearch.view.collection.notification.error_crawling_exception.head"},
{placeholder: "~*validationerrors.body", key: "~de.dariah.genericsearch.view.collection.notification.error_crawling_exception.body"}],
completeCallback: function() {
$(updateFieldSelector).text($("#oaiPrefix").val());
}
});
modalFormHandler.show(form_identifier);
}
CollectionEditor.prototype.clearData = function (endpointId, schemaId, hasAdditionalData) {
var _this = this;
......
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