diff --git a/config.json b/config.json index ba57deb..cf000b4 100644 --- a/config.json +++ b/config.json @@ -1,8 +1,9 @@ { - "server":"https://apisdev.acdh.oeaw.ac.at/entities/autocomplete/", + "server":"https://mpr.acdh-dev.oeaw.ac.at/apis/entities/entity/autocomplete/", "types":{ "person":"Person", - "place":"Ort" + "place":"Ort", + "institution":"Institution" }, "strings":[ "Vom Editor verbessert für", diff --git a/entity.html b/entity.html index 33c53b5..a2b6598 100644 --- a/entity.html +++ b/entity.html @@ -3,32 +3,69 @@ + + - - + -
- - - + +
+ + + +
+ Check
- +
+
+ + $("#id-check").on("click", function(){ + var link = $('select#form_people').val(); + $("#id-check").attr('href',link).trigger('change'); + }); + \ No newline at end of file diff --git a/entityManifest.xml b/entityManifest.xml index 836d165..bdd6761 100644 --- a/entityManifest.xml +++ b/entityManifest.xml @@ -14,7 +14,7 @@ - + ReadWriteDocument \ No newline at end of file