diff --git a/src/main/resources/js/view.context.menu.js b/src/main/resources/js/view.context.menu.js
index 9c5a83fdf8..bad7f48328 100644
--- a/src/main/resources/js/view.context.menu.js
+++ b/src/main/resources/js/view.context.menu.js
@@ -602,16 +602,18 @@ function setUpEditSentenceDialogView(description, type) {
+ ""
+ "");
- for (var index = 0; index < extendedKnowledgeTypes.length; index++) {
+
+ var myKnowledgeType = replaceArgumentWithLinkTypes(conDecAPI.getKnowledgeTypes(getProjectKey()));
+ for (var index = 0; index < myKnowledgeType.length; index++) {
var isSelected = "";
- if (type.toLowerCase() === extendedKnowledgeTypes[index].toLowerCase()) {
+ if (type.toLowerCase() === myKnowledgeType[index].toLowerCase()) {
isSelected = "selected ";
}
- if (type.toLowerCase() === "argument" && extendedKnowledgeTypes[index].toLowerCase().includes("pro")) {
+ if (type.toLowerCase() === "argument" && myKnowledgeType[index].toLowerCase().includes("pro")) {
isSelected = "selected ";
}
$("select[name='form-select-type']")[0].insertAdjacentHTML("beforeend", "");
+ + myKnowledgeType[index] + "'>" + myKnowledgeType[index] + "");
}
}