From 0950641c64a71f925ebef85607a35a83ac8b3dc0 Mon Sep 17 00:00:00 2001 From: Dipsy Kapoor Date: Thu, 19 Jun 2014 22:02:38 -0700 Subject: [PATCH 1/3] Fix issue with same ID not being selected when selecting a class from Set Semantic Type --- karma-web/src/main/webapp/js/semanticTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karma-web/src/main/webapp/js/semanticTypes.js b/karma-web/src/main/webapp/js/semanticTypes.js index 306d00803..3e7f2ea64 100644 --- a/karma-web/src/main/webapp/js/semanticTypes.js +++ b/karma-web/src/main/webapp/js/semanticTypes.js @@ -834,7 +834,7 @@ var SetSemanticTypeDialog = (function() { $(rowToChange).data("ResourceType", "Class").data("FullType",uri).data("DisplayLabel",properCasedKey); displayLabel = $(rowToChange).data("DisplayLabel"); } else { - $(rowToChange).data("DomainUri",uri).data("DomainId", foundObj.uri).data("DisplayDomainLabel",properCasedKey); + $(rowToChange).data("DomainUri",uri).data("DomainId", classData.id).data("DisplayDomainLabel",properCasedKey); displayLabel = "" + propertyOld + " of " + $(rowToChange).data("DisplayDomainLabel"); } } From 73b1ab567baa4a71a61f1658fc93a5d34a4a677f Mon Sep 17 00:00:00 2001 From: Dipsy Kapoor Date: Thu, 19 Jun 2014 22:03:21 -0700 Subject: [PATCH 2/3] v2.019 - Fix for selecting ID in Set Semantic Type --- karma-web/src/main/webapp/version.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karma-web/src/main/webapp/version.jsp b/karma-web/src/main/webapp/version.jsp index 11093f2b8..6e695136b 100644 --- a/karma-web/src/main/webapp/version.jsp +++ b/karma-web/src/main/webapp/version.jsp @@ -1 +1 @@ -v2.018 +v2.019 From 9e6b495b8df4a4decb68dd6f8c252e9ba31947db Mon Sep 17 00:00:00 2001 From: Dipsy Kapoor Date: Thu, 19 Jun 2014 22:20:41 -0700 Subject: [PATCH 3/3] Reload UI Configuration for KarmaServlet --- .../src/main/java/edu/isi/karma/webserver/KarmaServlet.java | 1 + 1 file changed, 1 insertion(+) diff --git a/karma-web/src/main/java/edu/isi/karma/webserver/KarmaServlet.java b/karma-web/src/main/java/edu/isi/karma/webserver/KarmaServlet.java index 59e2a0283..63c8ec41a 100644 --- a/karma-web/src/main/java/edu/isi/karma/webserver/KarmaServlet.java +++ b/karma-web/src/main/java/edu/isi/karma/webserver/KarmaServlet.java @@ -143,6 +143,7 @@ protected void doGet(HttpServletRequest request, @Override public void generateJson(String prefix, PrintWriter pw, VWorkspace vWorkspace) { + UIConfiguration.Instance().loadConfig(); pw.println("{"); pw.println("\"updateType\": \"UISettings\", "); pw.println("\"settings\": {");